QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#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)

详细

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