[SOLVED] "That's odd" in C programming
Hi, I'm trying to solve "That's odd" using C. From my understanding, the first input is N length. For example, if the input is 5, that means the length is 5, and I need to evaluate the next 5 numbers whether they are even or odd. However, the first test case shows that the first input is 5,which means the length is 5, but the available data are only 2 (namely 190 and 88 in this test case). 1- Is my understanding regarding this question correct? (Eg. If the length is 5, then the next input should have 5 more input .) 2- If the length is 5, and the data input is only 190 and 80, how do I deal with the other 3 empty spaces? If I just use scanf to wait for the user input, I think the program will just wait and get stuck there as there is no further input. Thanks in advance!