Submission #15033

# Submission time Handle Problem Language Result Execution time Memory
15033 2015-07-11T05:19:31 Z tonyjjw 뚊 (kriii3_EE) C++14
20 / 20
0 ms 1104 KB
#include<stdio.h>

int N,M;

char A[100][100],B[100][100];

int main(){
  scanf("%d%d",&N,&M);
  for(int i=0;i<N;i++)scanf("%s",A[i]);
  for(int i=0;i<N;i++)scanf("%s",B[i]);
  
  int ans=1;
  for(int i=0;i<N;i++)for(int j=0;j<2*M;j++)if(B[i][j]!=A[i][j/2])ans=0;
  puts(ans?"Eyfa":"Not Eyfa");
  return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1104 KB Output is correct
2 Correct 0 ms 1104 KB Output is correct
3 Correct 0 ms 1104 KB Output is correct
4 Correct 0 ms 1104 KB Output is correct
5 Correct 0 ms 1104 KB Output is correct
6 Correct 0 ms 1104 KB Output is correct
7 Correct 0 ms 1104 KB Output is correct
8 Correct 0 ms 1104 KB Output is correct
9 Correct 0 ms 1104 KB Output is correct
10 Correct 0 ms 1104 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1104 KB Output is correct
2 Correct 0 ms 1104 KB Output is correct
3 Correct 0 ms 1104 KB Output is correct
4 Correct 0 ms 1104 KB Output is correct
5 Correct 0 ms 1104 KB Output is correct
6 Correct 0 ms 1104 KB Output is correct
7 Correct 0 ms 1104 KB Output is correct
8 Correct 0 ms 1104 KB Output is correct
9 Correct 0 ms 1104 KB Output is correct
10 Correct 0 ms 1104 KB Output is correct