{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e Given a range [\u003ci\u003ea\u003c/i\u003e, \u003ci\u003eb\u003c/i\u003e], you are to find the summation of all the odd integers in this range. For example, the summation of all the odd integers in the range [3, 9] is 3 + 5 + 7 + 9 \u003d 24.\u003c/p\u003e \n\u003ch2\u003e \u003ca\u003e Input\u003c/a\u003e\u0026nbsp;\u003c/h2\u003e \n\u003cp\u003e There can be at multiple test cases. The first line of input gives you the number of test cases, \u003ci\u003eT\u003c/i\u003e ( 1\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$ \\le$\" height\u003d\"30\" src\u003d\"http://uva.onlinejudge.org/external/107/10783img1.png\" width\u003d\"18\" /\u003e\u003ci\u003eT\u003c/i\u003e\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$ \\le$\" height\u003d\"30\" src\u003d\"http://uva.onlinejudge.org/external/107/10783img1.png\" width\u003d\"18\" /\u003e100). Then T test cases follow. Each test case consists of 2 integers \u003ci\u003ea\u003c/i\u003e and \u003ci\u003eb\u003c/i\u003e ( 0\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$ \\le$\" height\u003d\"30\" src\u003d\"http://uva.onlinejudge.org/external/107/10783img1.png\" width\u003d\"18\" /\u003e\u003ci\u003ea\u003c/i\u003e\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$ \\le$\" height\u003d\"30\" src\u003d\"http://uva.onlinejudge.org/external/107/10783img1.png\" width\u003d\"18\" /\u003e\u003ci\u003eb\u003c/i\u003e\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$ \\le$\" height\u003d\"30\" src\u003d\"http://uva.onlinejudge.org/external/107/10783img1.png\" width\u003d\"18\" /\u003e100) in two separate lines.\u003c/p\u003e \n\u003ch2\u003e \u003ca\u003e Output\u003c/a\u003e\u0026nbsp;\u003c/h2\u003e \n\u003cp\u003e For each test case you are to print one line of output - the serial number of the test case followed by the summation of the odd integers in the range [\u003ci\u003ea\u003c/i\u003e, \u003ci\u003eb\u003c/i\u003e].\u003c/p\u003e \n\u003ch2\u003e \u003ca\u003e Sample Input\u003c/a\u003e\u0026nbsp;\u003c/h2\u003e \n\u003cpre\u003e\r\n2\r\n1\r\n5\r\n3\r\n5\r\n\u003c/pre\u003e \n\u003ch2\u003e \u003ca\u003e Sample Output\u003c/a\u003e\u0026nbsp;\u003c/h2\u003e \n\u003cpre\u003e\r\nCase 1: 9\r\nCase 2: 8\r\n\u003c/pre\u003e \n\u003cp\u003e \u0026nbsp;\u003c/p\u003e Miguel Revilla 2004-12-02"}}]}