Submission #18442

#TimeUsernameProblemLanguageResultExecution timeMemory
18442chan492811뚊 (kriii3_EE)C++98
20 / 20
0 ms1084 KiB
#include <cstdio> int n,m; char arr[30][30],arr2[30][30]; int main(){ int i,j,flag=1; scanf("%d %d",&n,&m); for(i=0;i<n;i++) scanf("%s",arr[i]); for(i=0;i<n;i++) scanf("%s",arr2[i]); for(i=0;i<n;i++){ for(j=0;j<m;j++){ if(arr[i][j]!=arr2[i][j*2] || arr[i][j]!=arr2[i][j*2+1]) flag=0; } } if(flag) printf("Eyfa"); else printf("Not Eyfa"); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...