Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74181 彭士宝 美丽数 Python3 Runtime Error 4310 MS 3772 KB 349 2024-05-23 21:12:50

Tests(0/1):


Code:

def find_nth_beautiful_number(N): count = 0 num = 1 while True: if num % 3 == 0 or num % 5 == 0: count += 1 if count == N: return num num += 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