User's AC Ratio

100.0% (15/15)

Submission's AC Ratio

82.8% (24/29)

Description

Input Format

Output Format

Sample Input

Sample Output

Hints

Problem Source

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

Subtasks

For Testdata: 0 ~ 4, Score: 10
For Testdata: 0 ~ 9, Score: 30
For Testdata: 0 ~ 14, Score: 60
No. Time Limit (ms) Memory Limit (KiB) Output Limit (KiB)
0 3000 524288 262144
1 3000 524288 262144
2 3000 524288 262144
3 3000 524288 262144
4 3000 524288 262144
5 3000 524288 262144
6 3000 524288 262144
7 3000 524288 262144
8 3000 524288 262144
9 3000 524288 262144
10 3000 524288 262144
11 3000 524288 262144
12 3000 524288 262144
13 3000 524288 262144
14 3000 524288 262144