Submission #15619

#TimeUsernameProblemLanguageResultExecution timeMemory
15619joonas뚊 (kriii3_EE)C++98
20 / 20
0 ms1084 KiB
#include <cstdio> #include <cstdlib> char G[51][51]; int main (){ int N, M, i, j; scanf("%d %d ", &N, &M); for(i=0; i<N; ++i) fgets(G[i], sizeof(G[i]), stdin); bool r=true; for(i=0; i<N; ++i){ char buf[51]={}; fgets(buf, sizeof(buf), stdin); for(j=0; j<2*M; ++j) r &= buf[j] == G[i][j/2]; } printf("%syfa", r?"E":"Not E"); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...