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 #19646
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
292. 費馬最後定理
3377
20920
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
8.2
39496
3992
Accepted
100
1
1
3
4
5
000
1.6
39496
3252
Accepted
100
2
2
3
4
5
000
1.6
39496
3424
Accepted
100
3
2
3
4
5
000
1.9
39496
3508
Accepted
100
4
2
3
4
5
000
8.9
39496
4060
Accepted
100
5
2
3
4
5
000
8.9
39496
4228
Accepted
100
6
2
3
4
5
000
7.6
39496
4140
Accepted
100
7
3
4
5
00
20.5
39496
4640
Accepted
100
8
3
4
5
00
47.3
39496
12132
Accepted
100
9
3
4
5
00
91.4
39496
20840
Accepted
100
10
3
4
5
00
93.0
39496
20920
Accepted
100
11
3
4
5
00
91.6
39496
20668
Accepted
100
12
4
5
00
52.7
39496
4604
Accepted
100
13
4
5
00
84.6
39496
12068
Accepted
100
14
4
5
0
131.6
39496
20852
Accepted
100
15
4
5
0
151.3
39496
20836
Accepted
100
16
4
5
0
144.5
39496
20736
Accepted
100
17
5
0
390.6
39496
4656
Accepted
100
18
5
0
458.4
39496
12128
Accepted
100
19
5
0
519.4
39496
20828
Accepted
100
20
5
0
534.8
39496
20780
Accepted
100
21
5
0
526.3
39496
20732
Accepted
100
Submitter:
becaido
Compiler:
c++20
Code Length:
4.87 KB
Back to Top