Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85281 彭士宝 美丽数 Python3 Runtime Error 4467 MS 3772 KB 364 2024-07-16 21:08:27

Tests(0/1):


Code:

def find_nth_beautiful_number(n): count = 0 number = 1 while True: if number % 3 == 0 or number % 5 == 0: count += 1 if count == n: return number number += 1 while True: try: n = int(input()) print(find_nth_beautiful_number(n)) except EOFError: break


Run Info:

Runtime Error:[ERROR] A not allowed system call.
Call ID:511