Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
3515 . Problem E
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
ICPC Yokohama 2021
Description
The PDF version of this problemset can be downloaded here.
Input Format
Output Format
Hints
Problem Source
Migrated from old NTUJ.
Subtasks
No.
Testdata Range
Score
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
5000
524288
131072
1
5000
524288
131072
2
5000
524288
131072
3
5000
524288
131072
4
5000
524288
131072
5
5000
524288
131072
6
5000
524288
131072
7
5000
524288
131072
8
5000
524288
131072
9
5000
524288
131072
10
5000
524288
131072
11
5000
524288
131072
12
5000
524288
131072
13
5000
524288
131072
14
5000
524288
131072
15
5000
524288
131072
16
5000
524288
131072
17
5000
524288
131072
18
5000
524288
131072
19
5000
524288
131072
20
5000
524288
131072
21
5000
524288
131072
22
5000
524288
131072
23
5000
524288
131072
24
5000
524288
131072
25
5000
524288
131072
26
5000
524288
131072
27
5000
524288
131072
28
5000
524288
131072
29
5000
524288
131072
30
5000
524288
131072
31
5000
524288
131072
32
5000
524288
131072
33
5000
524288
131072
34
5000
524288
131072
35
5000
524288
131072
36
5000
524288
131072
37
5000
524288
131072
38
5000
524288
131072
39
5000
524288
131072
40
5000
524288
131072
41
5000
524288
131072
42
5000
524288
131072
43
5000
524288
131072
44
5000
524288
131072
45
5000
524288
131072
46
5000
524288
131072
47
5000
524288
131072
48
5000
524288
131072
49
5000
524288
131072
50
5000
524288
131072
51
5000
524288
131072
52
5000
524288
131072
53
5000
524288
131072
54
5000
524288
131072
55
5000
524288
131072
56
5000
524288
131072
57
5000
524288
131072
58
5000
524288
131072
59
5000
524288
131072
60
5000
524288
131072
61
5000
524288
131072
62
5000
524288
131072
63
5000
524288
131072
64
5000
524288
131072
Submit
Back to Top