QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#60925 | #5006. Heximal | Jes | RE | 0ms | 0kb | Python2 | 112b | 2022-11-08 14:39:58 | 2022-11-08 14:40:01 |
Judging History
answer
import math
s = eval(input())
a = 1
if s == 0.0:
print(1)
else:
print(int(math.log(s, 6)) + 1)
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Runtime Error
input:
0