QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#321156#8216. Jumbled Primesucup-team1657#AC ✓968ms3648kbC++1710.2kb2024-02-04 05:29:592024-02-04 05:30:00

详细

Test #1:

score: 100
Accepted
time: 968ms
memory: 3648kb

input:

1
1
1
3
1
1
1
3
1
2
1
1
3
1
1
1
1
1
2
4
1
1
1
1
1
2
2
1
1
1
2
2
1
2
1
4
4
4
16
4
1
1
1
2
8
1
1
1
1
1
1
1
1
8
1
2
8
2
1
1
1
16
2
1
2
2
4
1
1
1
2
1
1
1
2
2
4
1
4
1
1
16
4
4
1
1
2
8
2
2
16
8
1
2
1
1
1
2
1
16
1
2
4
1
2
2
8
1
1
2
2
1
4
1
1
4
2
1
3
3
7
1
1
3
1
1
1
3
1
3
1
3
3
1
1
1
3
1
1
1
1
1
1
1
7
1
21
...

output:

? 84 87
? 78 16
? 94 36
? 87 93
? 50 22
? 63 28
? 91 60
? 64 27
? 41 27
? 73 37
? 12 69
? 68 30
? 83 31
? 63 24
? 68 36
? 30 3
? 23 59
? 70 68
? 94 57
? 12 43
? 12 1
? 12 2
? 12 3
? 12 4
? 12 5
? 12 6
? 12 7
? 12 8
? 12 9
? 12 10
? 12 11
? 12 13
? 12 14
? 12 15
? 12 16
? 12 17
? 12 18
? 12 19
? 12 2...

result:

ok Primes are found successfully with S = 534005 queries total