Toggle navigation
Contest Tasks
Submissions
Q & A
Dashboard
Sign in
Sign up
378 . 江神與他的小火車
Submit out of contest
Status
Ranklist
Back to Problems List
TopCoder
暴力又被TLE
PY派對
User's AC Ratio
90.9% (
10/11
)
Submission's AC Ratio
35.3% (
12
/
34
)
Tags
Show solution-related tags
Algo
Algo25_b
Description
Input Format
Output Format
Hints
Problem Source
NEOJ Problem 431
Subtasks
No.
Testdata Range
Constraints
Score
1
0~21
30
2
0~38
30
3
0~47
40
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
3000
131072
65536
1
2
3
1
3000
131072
65536
1
2
3
2
3000
131072
65536
1
2
3
3
3000
131072
65536
1
2
3
4
3000
131072
65536
1
2
3
5
3000
131072
65536
1
2
3
6
3000
131072
65536
1
2
3
7
3000
131072
65536
1
2
3
8
3000
131072
65536
1
2
3
9
3000
131072
65536
1
2
3
10
3000
131072
65536
1
2
3
11
3000
131072
65536
1
2
3
12
3000
131072
65536
1
2
3
13
3000
131072
65536
1
2
3
14
3000
131072
65536
1
2
3
15
3000
131072
65536
1
2
3
16
3000
131072
65536
1
2
3
17
3000
131072
65536
1
2
3
18
3000
131072
65536
1
2
3
19
3000
131072
65536
1
2
3
20
3000
131072
65536
1
2
3
21
3000
131072
65536
1
2
3
22
3000
131072
65536
2
3
23
3000
131072
65536
2
3
24
3000
131072
65536
2
3
25
3000
131072
65536
2
3
26
3000
131072
65536
2
3
27
3000
131072
65536
2
3
28
3000
131072
65536
2
3
29
3000
131072
65536
2
3
30
3000
131072
65536
2
3
31
3000
131072
65536
2
3
32
3000
131072
65536
2
3
33
3000
131072
65536
2
3
34
3000
131072
65536
2
3
35
3000
131072
65536
2
3
36
3000
131072
65536
2
3
37
3000
131072
65536
2
3
38
3000
131072
65536
2
3
39
3000
131072
65536
3
40
3000
131072
65536
3
41
3000
131072
65536
3
42
3000
131072
65536
3
43
3000
131072
65536
3
44
3000
131072
65536
3
45
3000
131072
65536
3
46
3000
131072
65536
3
47
3000
131072
65536
3
Submit out of contest
Back to Top