TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

4
4 4
4 8
8 8
100 100

Sample Output 1

1
1
4
518

Hints

Problem Source

Migrated from old NTUJ.

shik

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 7000 65536 65536
1 7000 65536 65536
2 7000 65536 65536
3 7000 65536 65536
4 7000 65536 65536
5 7000 65536 65536
6 7000 65536 65536
7 7000 65536 65536
8 7000 65536 65536
9 7000 65536 65536
10 7000 65536 65536
11 7000 65536 65536
12 7000 65536 65536
13 7000 65536 65536