用户输出
No
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3283 | #1007. 这你也敢信? | Wrong Answer | 43 | 1696 ms | 2884 K | Python 3 / 419 B | t330034013 | 2023-11-25 14:31:54 |
import math
def res(k, x):
if k % x == 0:
k = k / x
return res(k, x)
return k
def isprime(num):
num = math.ceil(num**0.5)
for i in range(3, num):
if num % i == 0:
return False
if num == 1:
return False
return True
n = int(input())
a = res(n, 2)
b = int(res(n, 3))
if isprime(b):
print('No')
else:
print('Yes')
用户输出
No
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
Yes
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
No
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
No
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
Yes
系统信息
Exited with return code 0
用户输出
Yes
系统信息
Exited with return code 0
用户输出
No
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
No
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0