用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3292 | #1007. 这你也敢信? | Wrong Answer | 0 | 607 ms | 2864 K | Python 3 / 460 B | t330034013 | 2023-11-25 14:36:22 |
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)
print(num)
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(a, 3))
print(b)
if isprime(b):
print('No')
else:
print('Yes')
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
5
3
No
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
3814697265625
1953125
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
4942022479775155
70299520
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
184783581597313664
429864609
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
8171891550064039
90398516
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
993351250920326393
996670082
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
7649835883232369
87463341
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1
1
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
999999999999245093
1000000000
Yes
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0