In this problem, you have to find the last three digits before the decimal point for the number
For example, when
For
Input Specification
The first line of input gives the number of cases,
Output Specification
For each input case, you should output: Case #X: Y
where
Limits
Time limit: 30 seconds per test set.
Memory limit: 1 GB.
Small Dataset
Large Dataset
Sample Input
Copy
2
5
2
Sample Output
Copy
Case #1: 935
Case #2: 027
Comments