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