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>
char src[10][10];
char tgt[10][20];
int main()
{
int N, M;
//freopen("input.txt", "r", stdin);
scanf("%d %d ", &N, &M);
for (int i = 0; i < N; i++) {
for (int j = 0; j < M; j++) {
scanf("%c ", &src[i][j]);
}
}
for (int i = 0; i < N; i++) {
for (int j = 0; j < 2*M; j++) {
scanf("%c ", &tgt[i][j]);
if (src[i][j / 2] != tgt[i][j]) {
printf("Not Eyfa");
return 0;
}
}
}
printf("Eyfa");
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |