Sum of Odd Sequence
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given an odd integer N, calculate the sum of all the odd integers between 1 and N inclusive.
Input
First line of the input contains T, the number of test cases. Each test case contains a single integer N. N is between 1 and 100.
Output
For each test case output the value 1+3+….+N.
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 51%