I played
At the end of the day, I look at the game statistics to see how well I have played. It turns out that I have won exactly
Are the percentages displayed possible, or is the game statistics calculator broken?
Input Specification
The first line of the input gives the number of test cases,
Output Specification
For each test case, output one line containing Case #x: y
, where Possible
or Broken
.
Limits
Memory limit: 1 GB.
Small Dataset
Time limit: 30 seconds.
Large Dataset
Time limit: 60 seconds.
Sample Input
3
1 100 50
10 10 100
9 80 56
Sample Output
Case #1: Possible
Case #2: Broken
Case #3: Possible
In Case #3, I could have played 5 games today
Note
This problem has different time limits for different batches. If you exceed the Time Limit for any batch, the judge will incorrectly display >60.000s
regardless of the actual time taken. Refer to the Limits section for batch-specific time limits.
Comments