Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68910 胡海峰老师 判断素数 Python3 Runtime Error 4005 MS 3768 KB 249 2024-03-27 21:58:47

Tests(22/25):


Code:

def is_prime(n): #2- n-1 if n==1: return False for x in range(2,n): if n%x==0: return False return True m = int(input()) res = is_prime(m) if res== True: print("Yes") else: print("No")


Run Info:

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