Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
關於傳送結果
請點我
問題回報/許願
表單連結
553 . 2024算法班pretest_pC
Submit
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
User's AC Ratio
NaN% (
0/0
)
Submission's AC Ratio
NaN% (
0
/
0
)
Tags
Show solution-related tags
Algo
Algo24_pretest
Description
題本 PDF
Input Format
Output Format
Hints
Problem Source
NEOJ Problem 869
Subtasks
No.
Testdata Range
Constraints
Score
1
0~2
0
2
3~16
20
3
0~38
30
4
0~60
50
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
1000
262144
65536
1
3
4
1
1000
262144
65536
1
3
4
2
1000
262144
65536
1
3
4
3
1000
262144
65536
2
3
4
4
1000
262144
65536
2
3
4
5
1000
262144
65536
2
3
4
6
1000
262144
65536
2
3
4
7
1000
262144
65536
2
3
4
8
1000
262144
65536
2
3
4
9
1000
262144
65536
2
3
4
10
1000
262144
65536
2
3
4
11
1000
262144
65536
2
3
4
12
1000
262144
65536
2
3
4
13
1000
262144
65536
2
3
4
14
1000
262144
65536
2
3
4
15
1000
262144
65536
2
3
4
16
1000
262144
65536
2
3
4
17
1000
262144
65536
3
4
18
1000
262144
65536
3
4
19
1000
262144
65536
3
4
20
1000
262144
65536
3
4
21
1000
262144
65536
3
4
22
1000
262144
65536
3
4
23
1000
262144
65536
3
4
24
1000
262144
65536
3
4
25
1000
262144
65536
3
4
26
1000
262144
65536
3
4
27
1000
262144
65536
3
4
28
1000
262144
65536
3
4
29
1000
262144
65536
3
4
30
1000
262144
65536
3
4
31
1000
262144
65536
3
4
32
1000
262144
65536
3
4
33
1000
262144
65536
3
4
34
1000
262144
65536
3
4
35
1000
262144
65536
3
4
36
1000
262144
65536
3
4
37
1000
262144
65536
3
4
38
1000
262144
65536
3
4
39
1000
262144
65536
4
40
1000
262144
65536
4
41
1000
262144
65536
4
42
1000
262144
65536
4
43
1000
262144
65536
4
44
1000
262144
65536
4
45
1000
262144
65536
4
46
1000
262144
65536
4
47
1000
262144
65536
4
48
1000
262144
65536
4
49
1000
262144
65536
4
50
1000
262144
65536
4
51
1000
262144
65536
4
52
1000
262144
65536
4
53
1000
262144
65536
4
54
1000
262144
65536
4
55
1000
262144
65536
4
56
1000
262144
65536
4
57
1000
262144
65536
4
58
1000
262144
65536
4
59
1000
262144
65536
4
60
1000
262144
65536
4
Submit
Back to Top