Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
3516 . Problem F
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
30000
524288
131072
1
30000
524288
131072
2
30000
524288
131072
3
30000
524288
131072
4
30000
524288
131072
5
30000
524288
131072
6
30000
524288
131072
7
30000
524288
131072
8
30000
524288
131072
9
30000
524288
131072
10
30000
524288
131072
11
30000
524288
131072
12
30000
524288
131072
13
30000
524288
131072
14
30000
524288
131072
15
30000
524288
131072
16
30000
524288
131072
17
30000
524288
131072
18
30000
524288
131072
19
30000
524288
131072
20
30000
524288
131072
21
30000
524288
131072
22
30000
524288
131072
23
30000
524288
131072
24
30000
524288
131072
25
30000
524288
131072
26
30000
524288
131072
27
30000
524288
131072
28
30000
524288
131072
29
30000
524288
131072
30
30000
524288
131072
31
30000
524288
131072
32
30000
524288
131072
33
30000
524288
131072
34
30000
524288
131072
35
30000
524288
131072
36
30000
524288
131072
37
30000
524288
131072
38
30000
524288
131072
39
30000
524288
131072
40
30000
524288
131072
41
30000
524288
131072
42
30000
524288
131072
43
30000
524288
131072
44
30000
524288
131072
45
30000
524288
131072
46
30000
524288
131072
47
30000
524288
131072
48
30000
524288
131072
49
30000
524288
131072
50
30000
524288
131072
51
30000
524288
131072
52
30000
524288
131072
53
30000
524288
131072
54
30000
524288
131072
55
30000
524288
131072
56
30000
524288
131072
57
30000
524288
131072
58
30000
524288
131072
59
30000
524288
131072
60
30000
524288
131072
61
30000
524288
131072
62
30000
524288
131072
63
30000
524288
131072
64
30000
524288
131072
65
30000
524288
131072
66
30000
524288
131072
67
30000
524288
131072
68
30000
524288
131072
69
30000
524288
131072
70
30000
524288
131072
71
30000
524288
131072
72
30000
524288
131072
73
30000
524288
131072
74
30000
524288
131072
Submit
Back to Top