Today is Poltu’ first C programming class. And, he needs your help with a programming task.
Given two integer numbers and , you have to calculate the summation of all odd numbers which is not less than and is not greater than .
Input will starts with an integer (), Number of test case.
The next lines each contains two integers and ().
For each test case print the case number and the result of the problem described above in a separate line.
Input | Output |
---|---|
2 1 10 2 10 | Case 1: 25 Case 2: 24 |
Input is huge, use faster input/output functions.