Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95188 | 潘允晨 | 13判断质数 | Python3 | Wrong Answer | 37 MS | 3768 KB | 168 | 2024-10-27 09:45:56 |
import math a=int(input()) s=1 for x in range(2,int(math.sqrt(a))+1): if a%x==0: s=0 break if s==0: print("Yes") else: print("No")
------Input------
157
------Answer-----
Yes
------Your output-----
No