Tuesday, August 19, 2014

COJ 1166. Speed

This task is a little bit unique, it gives us only input and output and we need to figure out the format, and the statement of the task. By carefully observing input we can understand that the first number is the number of test cases. Then there are test cases , the first number of each test case is the number of elements and then there are elements themselves. And we should find the number of even and odd numbers in that sequence and print how shown in the output.


       FULL SOURCE CODE

No comments:

Post a Comment