Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
NTUCPC Speed Run! #1
比賽已結束,感謝大家的參與!
題目連結
IOICamp 2025 PreExam 進行中!
IOICamp 官網
、
PreExam 連結
程式解題社網站
程式解題社網站
上線了!
Results of submission #19647
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
292. 費馬最後定理
3485
15620
Accepted
20
Subtask Results
Subtask no.
Testdata Range
Constraints
Score
1
0~1
範例測資
0
/ 0
2
2~6
$N, Q \leq 3000$
1
/ 1
3
0~11
$N, Q \leq 3 \times 10^ 5$
2
/ 2
4
0~16
$Q \leq 3 \times 10^ 6$
4
/ 4
5
0~21
無額外限制
13
/ 13
Testdata Results
Testdata no.
Subtasks
Time (ms)
Memory (VSS, KiB)
Memory (RSS, KiB)
Verdict
Score
0
1
3
4
5
000
6.9
39496
3956
Accepted
100
1
1
3
4
5
000
1.3
39496
3516
Accepted
100
2
2
3
4
5
000
1.6
39496
3520
Accepted
100
3
2
3
4
5
000
1.9
39496
3544
Accepted
100
4
2
3
4
5
000
8.7
39496
4060
Accepted
100
5
2
3
4
5
000
7.2
39496
4112
Accepted
100
6
2
3
4
5
000
8.1
39496
4052
Accepted
100
7
3
4
5
00
25.9
39496
4652
Accepted
100
8
3
4
5
00
49.9
39496
9268
Accepted
100
9
3
4
5
00
89.3
39496
15524
Accepted
100
10
3
4
5
00
90.8
39496
15612
Accepted
100
11
3
4
5
00
99.9
39496
15612
Accepted
100
12
4
5
00
65.2
39496
4656
Accepted
100
13
4
5
00
93.4
39496
9264
Accepted
100
14
4
5
0
145.9
39496
15564
Accepted
100
15
4
5
0
141.8
39496
15620
Accepted
100
16
4
5
0
137.6
39496
15524
Accepted
100
17
5
0
416.4
39496
4660
Accepted
100
18
5
0
471.5
39496
9316
Accepted
100
19
5
0
556.6
39496
15608
Accepted
100
20
5
0
554.1
39496
15604
Accepted
100
21
5
0
511.5
39496
15580
Accepted
100
Submitter:
becaido
Compiler:
c++20
Code Length:
4.88 KB
Back to Top