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 
720000 120000 
50000 60000 
130000 50000 
1200000 150000 
3 
5000000 7 
5000000 30 
63000000 24 

Sample Output 1

Case 1: 120000 
Case 2: 110000 
Case 3: IMPOSSIBLE 

Hints

Problem Source

Migrated from old NTUJ.

2011 ICPC Phuket

Subtasks

No. Testdata Range Score

Testdata and Limits

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