# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
15619 | | joonas | 뚊 (kriii3_EE) | C++98 | | 0 ms | 1084 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |