Read an integer N that is the number of test cases. Each test case is a line containing two integer numbers X and Y. Print the sum of all odd values between them, not including X and Y. Input The ...
{"name":"S. Sum of Consecutive Odd Numbers","group":"Codeforces - Sheet #2 (Loops)","url":"https://codeforces.com/group/MWSDmqGsZm/contest/219432/problem/S ...
All of these puzzles relate to adding together consecutive numbers. Mathematicians do not like doing a lot of, tedious adding up, and so are always on the lookout for cunning shortcuts. It might help ...