Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Teams
Sign in
Sign up
×
Close
NTUCPC Challenge! #1 題解公開!
連結
IOIC 2025 題目已公開!
連結
程式解題社網站
程式解題社網站
上線了!
NTUCPC OJ 現在支援 Rust !
NTUCPCPC
NTUCPC Programming Contest
開放報名!
Results of submission #83174
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
292. 費馬最後定理
16747
120960
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
00
20.9
7048
3456
Accepted
100
1
1
3
4
5
000
4.5
6520
3456
Accepted
100
2
2
3
4
5
000
9.8
7676
4608
Accepted
100
3
2
3
4
5
00
10.4
7676
4608
Accepted
100
4
2
3
4
5
00
36.2
8204
4608
Accepted
100
5
2
3
4
5
00
35.0
8204
4608
Accepted
100
6
2
3
4
5
00
34.0
8204
4608
Accepted
100
7
3
4
5
0
272.2
124420
119808
Accepted
100
8
3
4
5
0
291.2
124420
119808
Accepted
100
9
3
4
5
0
361.3
124948
120960
Accepted
100
10
3
4
5
0
357.6
124948
120960
Accepted
100
11
3
4
5
0
353.6
124948
120960
Accepted
100
12
4
5
0
472.6
124420
119808
Accepted
100
13
4
5
0
481.5
124420
119808
Accepted
100
14
4
5
0
547.0
124948
120960
Accepted
100
15
4
5
0
549.3
124948
120960
Accepted
100
16
4
5
0
561.8
124948
120960
Accepted
100
17
5
2430.7
124420
119808
Accepted
100
18
5
2464.5
124420
119808
Accepted
100
19
5
2496.1
124948
120960
Accepted
100
20
5
2498.5
124948
120960
Accepted
100
21
5
2458.7
124948
120960
Accepted
100
Submitter:
shik
Compiler:
c++23
Code Length:
5.45 KB
Back to Top