QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#494345#5006. HeximalssmyCompile Error//Python3112b2024-07-27 15:20:072024-07-27 15:20:07

Judging History

你现在查看的是最新测评结果

  • [2024-07-27 15:20:07]
  • 评测
  • [2024-07-27 15:20:07]
  • 提交

answer

n = int(input())
cnt = 0
if n == 0:
    print(1)
else:
while n != 0:
    n //= 6
    cnt += 1
print(cnt)

Details

Sorry: IndentationError: expected an indented block after 'else' statement on line 5 (answer.code, line 6)