TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

The PDF file of all problems can be downloaded HERE

Input Format

Output Format

Sample Input 1

5
4 2
4 3
4 4
4 6
10 10

Sample Output 1

Case 1: 1
Case 2: 2
Case 3: 6
Case 4: 16
Case 5: 496

Hints

Illustration of case 3:


Problem Source

Migrated from old NTUJ.

Regional Dhaka 2011

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 10000 65536 200