TopCoder

User's AC Ratio

100.0% (16/16)

Submission's AC Ratio

83.3% (25/30)

Description

Input Format

Output Format

Sample Input

Sample Output

Hints

Problem Source

Problem Set / Description by Paupière
建國中學105學年度北市賽模擬賽pB

Subtasks

No. Testdata Range Score
1 0~4 10
2 0~9 30
3 0~14 60

Testdata and Limits

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