Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68230 金浩 素数判断 Python3 Accepted 35 MS 3756 KB 132 2024-03-21 10:42:20

Tests(1/1):


Code:

n=int(input()) c=0 for i in range(2,n): if n%i==0: c+=1 if c==0: print("prime") else: print("not prime")