编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#3586 #1007. 这你也敢信? Wrong Answer 61 3604 ms 2896 K Python 3 / 590 B t330034013 2023-11-25 15:51:05
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())
n2 = res(n, 2)
n3 = res(n2, 3)
judge = True
for i in range(4, math.ceil(n3 ** 0.5)):
    if n % i == 0:
        if isprime(i):
            
            judge = False
            break
if judge:
    print('Yes')


    
子任务 #1
Wrong Answer
得分:60
测试点 #1
Accepted
得分:100
用时:23 ms
内存:2816 KiB

输入文件(00_sample_00.in

324

答案文件(00_sample_00.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #2
Wrong Answer
得分:0
用时:27 ms
内存:2816 KiB

输入文件(00_sample_01.in

5

答案文件(00_sample_01.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #3
Accepted
得分:100
用时:19 ms
内存:2780 KiB

输入文件(00_sample_02.in

32

答案文件(00_sample_02.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #4
Accepted
得分:100
用时:24 ms
内存:2840 KiB

输入文件(00_sample_03.in

37748736

答案文件(00_sample_03.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #5
Accepted
得分:100
用时:18 ms
内存:2884 KiB

输入文件(01_handmade_04.in

1

答案文件(01_handmade_04.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #6
Accepted
得分:100
用时:37 ms
内存:2776 KiB

输入文件(01_handmade_05.in

999502313552216064

答案文件(01_handmade_05.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #7
Wrong Answer
得分:0
用时:19 ms
内存:2820 KiB

输入文件(01_handmade_06.in

1000000000000000000

答案文件(01_handmade_06.out

No

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #8
Wrong Answer
得分:0
用时:35 ms
内存:2788 KiB

输入文件(02_random_07.in

79072359676402482

答案文件(02_random_07.out

No

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #9
Wrong Answer
得分:0
用时:23 ms
内存:2892 KiB

输入文件(02_random_08.in

554350744791940977

答案文件(02_random_08.out

No

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #10
Wrong Answer
得分:0
用时:35 ms
内存:2816 KiB

输入文件(02_random_09.in

261500529602049246

答案文件(02_random_09.out

No

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #11
Time Limit Exceeded
得分:0
用时:1036 ms
内存:2804 KiB

输入文件(02_random_10.in

993351250920326393

答案文件(02_random_10.out

No
测试点 #12
Wrong Answer
得分:0
用时:19 ms
内存:2840 KiB

输入文件(02_random_11.in

489589496526871622

答案文件(02_random_11.out

No

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #13
Accepted
得分:100
用时:36 ms
内存:2876 KiB

输入文件(02_random_12.in

62762119218

答案文件(02_random_12.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #14
Accepted
得分:100
用时:24 ms
内存:2864 KiB

输入文件(02_random_13.in

1506290861232

答案文件(02_random_13.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #15
Accepted
得分:100
用时:24 ms
内存:2832 KiB

输入文件(02_random_14.in

24794911296

答案文件(02_random_14.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #16
Accepted
得分:100
用时:37 ms
内存:2812 KiB

输入文件(02_random_15.in

14089640214528

答案文件(02_random_15.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #17
Accepted
得分:100
用时:25 ms
内存:2760 KiB

输入文件(02_random_16.in

2592

答案文件(02_random_16.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #18
Accepted
得分:100
用时:24 ms
内存:2808 KiB

输入文件(02_random_17.in

2

答案文件(02_random_17.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #19
Accepted
得分:100
用时:24 ms
内存:2832 KiB

输入文件(02_random_18.in

3

答案文件(02_random_18.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #20
Accepted
得分:100
用时:41 ms
内存:2864 KiB

输入文件(02_random_19.in

4

答案文件(02_random_19.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #21
Accepted
得分:100
用时:22 ms
内存:2896 KiB

输入文件(02_random_20.in

9

答案文件(02_random_20.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #22
Time Limit Exceeded
得分:0
用时:1025 ms
内存:2840 KiB

输入文件(02_random_21.in

999999999999245093

答案文件(02_random_21.out

No
测试点 #23
Time Limit Exceeded
得分:0
用时:1007 ms
内存:2812 KiB

输入文件(02_random_22.in

999999961999997657

答案文件(02_random_22.out

No