This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
char p[12][12], q[12][24];
bool F;
int main(){
int n, m;
scanf("%d%d", &n, &m);
for (int i = 0; i < n; i++)scanf("%s", p[i]);
for (int i = 0; i < n; i++)scanf("%s", q[i]);
for (int i = 0; i < n; i++){
for (int j = 0; j < m + m; j++){
if (q[i][j] != p[i][j / 2])F = 1;
}
}
printf("%s", F ? "Not Eyfa" : "Eyfa");
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |