Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94214 | 潘允晨 | 判断素数 | Python3 | Wrong Answer | 32 MS | 3764 KB | 174 | 2024-10-20 09:20:37 |
import math a=int(input()) s=1 for x in range(2,int(math.sqrt(a))): if a%x==0: s=0 break if s==0: print("no prime") else: print("prime")
------Input------
23496801
------Answer-----
not prime
------Your output-----
no prime