TopCoder

User's AC Ratio

76.2% (16/21)

Submission's AC Ratio

36.8% (32/87)

Description

Input Format

Output Format

Sample Input

Sample Output

Hints

Problem Source

Problem Set / Description by Yihda Yol
建國中學105學年度北市賽模擬賽pC

Subtasks

No. Testdata Range Score
1 0~3 20
2 0~7 20
3 0~13 30
4 0~17 30

Testdata and Limits

No. Time Limit (ms) Memory Limit (KiB) Output Limit (KiB) Subtasks
0 5000 524288 262144 1 2 3 4
1 5000 524288 262144 1 2 3 4
2 5000 524288 262144 1 2 3 4
3 5000 524288 262144 1 2 3 4
4 5000 524288 262144 2 3 4
5 5000 524288 262144 2 3 4
6 5000 524288 262144 2 3 4
7 5000 524288 262144 2 3 4
8 5000 524288 262144 3 4
9 5000 524288 262144 3 4
10 5000 524288 262144 3 4
11 5000 524288 262144 3 4
12 5000 524288 262144 3 4
13 5000 524288 262144 3 4
14 5000 524288 262144 4
15 5000 524288 262144 4
16 5000 524288 262144 4
17 5000 524288 262144 4