编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#3549 #1007. 这你也敢信? Time Limit Exceeded 39 10985 ms 2904 K Python 3 / 495 B t330034013 2023-11-25 15:38:37
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(3, num):
        if num % i == 0:
            num = res(num, i)
            isprime(num)
    if num == 1:
        return False
    return True
n = int(input())
k = n
for i in range(2, math.ceil(k ** 0.5)):
    n = res(n, i)
if isprime(n):
    print('No')
else:
    print('Yes')



    
子任务 #1
Time Limit Exceeded
得分:39
测试点 #1
Accepted
得分:100
用时:21 ms
内存:2840 KiB

输入文件(00_sample_00.in

324

答案文件(00_sample_00.out

Yes

用户输出

Yes

系统信息

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

输入文件(00_sample_01.in

5

答案文件(00_sample_01.out

No

用户输出

No

系统信息

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

输入文件(00_sample_02.in

32

答案文件(00_sample_02.out

Yes

用户输出

Yes

系统信息

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

输入文件(00_sample_03.in

37748736

答案文件(00_sample_03.out

Yes

用户输出

Yes

系统信息

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

输入文件(01_handmade_04.in

1

答案文件(01_handmade_04.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #6
Time Limit Exceeded
得分:0
用时:1033 ms
内存:2824 KiB

输入文件(01_handmade_05.in

999502313552216064

答案文件(01_handmade_05.out

Yes
测试点 #7
Time Limit Exceeded
得分:0
用时:1005 ms
内存:2832 KiB

输入文件(01_handmade_06.in

1000000000000000000

答案文件(01_handmade_06.out

No
测试点 #8
Time Limit Exceeded
得分:0
用时:1021 ms
内存:2752 KiB

输入文件(02_random_07.in

79072359676402482

答案文件(02_random_07.out

No
测试点 #9
Time Limit Exceeded
得分:0
用时:1043 ms
内存:2840 KiB

输入文件(02_random_08.in

554350744791940977

答案文件(02_random_08.out

No
测试点 #10
Time Limit Exceeded
得分:0
用时:1021 ms
内存:2840 KiB

输入文件(02_random_09.in

261500529602049246

答案文件(02_random_09.out

No
测试点 #11
Time Limit Exceeded
得分:0
用时:1042 ms
内存:2840 KiB

输入文件(02_random_10.in

993351250920326393

答案文件(02_random_10.out

No
测试点 #12
Time Limit Exceeded
得分:0
用时:1019 ms
内存:2748 KiB

输入文件(02_random_11.in

489589496526871622

答案文件(02_random_11.out

No
测试点 #13
Accepted
得分:100
用时:81 ms
内存:2904 KiB

输入文件(02_random_12.in

62762119218

答案文件(02_random_12.out

Yes

用户输出

Yes

系统信息

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

输入文件(02_random_13.in

1506290861232

答案文件(02_random_13.out

Yes

用户输出

Yes

系统信息

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

输入文件(02_random_14.in

24794911296

答案文件(02_random_14.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #16
Time Limit Exceeded
得分:0
用时:1013 ms
内存:2864 KiB

输入文件(02_random_15.in

14089640214528

答案文件(02_random_15.out

Yes
测试点 #17
Accepted
得分:100
用时:18 ms
内存:2832 KiB

输入文件(02_random_16.in

2592

答案文件(02_random_16.out

Yes

用户输出

Yes

系统信息

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

输入文件(02_random_17.in

2

答案文件(02_random_17.out

Yes

用户输出

No

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(02_random_18.in

3

答案文件(02_random_18.out

Yes

用户输出

No

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #20
Wrong Answer
得分:0
用时:17 ms
内存:2828 KiB

输入文件(02_random_19.in

4

答案文件(02_random_19.out

Yes

用户输出

No

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #21
Wrong Answer
得分:0
用时:18 ms
内存:2904 KiB

输入文件(02_random_20.in

9

答案文件(02_random_20.out

Yes

用户输出

No

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(02_random_21.in

999999999999245093

答案文件(02_random_21.out

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

输入文件(02_random_22.in

999999961999997657

答案文件(02_random_22.out

No