User's AC Ratio

88.9% (8/9)

Submission's AC Ratio

48.0% (24/50)

Description

Input Format

Output Format

Sample Input

Sample Output

Hints

範測有誤,輸入範例1和2第一行第二個數字應該各減少一。

Problem Source

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

Subtasks

For Testdata: 0 ~ 4, Score: 10
For Testdata: 0 ~ 9, Score: 10
For Testdata: 0 ~ 14, Score: 10
For Testdata: 0 ~ 19, Score: 35
For Testdata: 0 ~ 24, Score: 35
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
15 3000 524288 262144
16 3000 524288 262144
17 3000 524288 262144
18 3000 524288 262144
19 3000 524288 262144
20 3000 524288 262144
21 3000 524288 262144
22 3000 524288 262144
23 3000 524288 262144
24 3000 524288 262144