|
|
вернуться в форум2 adminz This is the way I made output for this task: (for each string) for(j=0;j<len;j++) printf("%c",a[i][j]); if(len>0||i<n-1) printf("\n"); where "len" is the length of the string, "n" is it's number. And such strange output is only AC variant I could find. Is that fair? Why banal gets() or \n after each line doesn't work? This ways of output can process empty lines correctly, but they get WA. PS. Sorry for code, delete it, if it's forbidden. |
|
|