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 <stdio.h>
int main(void)
{
int lnum,cnum;
int Eyfa=1;
scanf("%d %d",&lnum,&cnum);
char a[11][11];
char b[11][21];
for (int i=0;i<lnum;i++) scanf("%s",a[i]);
for (int i=0;i<lnum;i++) scanf("%s",b[i]);
for (int i=0;i<lnum;i++) for (int j=0;j<cnum*2;j++) if (b[i][j]!=a[i][j/2]) Eyfa=0;
if (Eyfa) printf("Eyfa");
else printf("Not Eyfa");
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |