| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 86284 | 朱正天 | 判断质数(使用while循环) | Python3 | Accepted | 37 MS | 3768 KB | 196 | 2024-07-24 12:57:47 |
def judge(n): for i in range(2,n//2+1): if n%i == 0: return False return True n = int(input()) if judge(n): print("Yes") if not judge(n): print("No")