Toggle navigation
CDUTCMOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem1067--A - B Problem
1067: A - B Problem
[Creator :
]
Time Limit :
1
sec
Memory Limit :
128 MB
Solved: 36
Submit: 53
Statistics
Description
Input
The first line of input is a single number T(T ≤ 100),means the number of test cases.Then T cases
followed, each case contains only one line with two integers A and B(0 ≤ A;B ≤ 100).
Output
For each test case,you should output one line. First, output “Case #t: ”, t means the number of
the test case which is from 1 to T. Then, output an integer indicates the value of |a − b|.
Sample Input
Copy
2 1 6 6 5
Sample Output
Copy
Case #1: 5 Case #2: 1
Source/Category