Submission #17505

#TimeUsernameProblemLanguageResultExecution timeMemory
17505kdh9949뚊 (kriii3_EE)C++98
20 / 20
0 ms1148 KiB
#include <cstdio> char a[11][2010], b[11][4010]; int n, m; int main(){ scanf("%d%d", &n, &m); for(int i = 0; i < n; i++){ scanf("%s", a[i]); } for(int i = 0; i < n; i++){ scanf("%s", b[i]); } bool flag = false; for(int i = 0; i < n; i++){ for(int j = 0; j < 2 * m; j++){ if(b[i][j] != a[i][j / 2]){ flag = true; printf("Not "); break; } } if(flag) break; } puts("Eyfa"); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...