|
|
back to boardadmins : Test 3 is incorrect char em[10][20]; int n = 0, m = 0; ... while (gets(em[n++]) && em[n-1][0]); --n; m = (int) strlen(em[0]); ... this code doesn't pass test 3 and gets WA, but if i insert this line if (m != strlen(em[1])) while(true); it gets Time Limit Exceeded !!! check it Edited by author 16.01.2009 23:18 Re: admins : Test 3 is incorrect Lengths of lines may differ, because the spaces at the end of lines are omitted. |
|
|