|
|
back to boardPlease, explain why this code does not get input data for 1005 Could anybody explain why this code just trying to get input data fo 1005 works more than 5 seconds #include<stdio.h> void main() { long a[21],i; printf("\n"); scanf("%ld",&i); a[i]=0; while(i--)scanf("%li",&a[i]); } Does it mean that input may ends not with \n |
|
|