QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#60924 | #5006. Heximal | Jes | RE | 0ms | 0kb | Python2 | 108b | 2022-11-08 14:39:22 | 2022-11-08 14:39:24 |
Judging History
answer
import math
s = eval(input())
a = 1
if s == 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