QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#494341#5006. HeximalssmyCompile Error//C++20105b2024-07-27 15:19:372024-07-27 15:19:37

Judging History

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

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

answer

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

Details

answer.code:1:1: error: ‘n’ does not name a type
    1 | n = int(input())
      | ^