Submission #15067

#TimeUsernameProblemLanguageResultExecution timeMemory
15067gs14004뚊 (kriii3_EE)C++14
20 / 20
0 ms1084 KiB
#include <cstdio> int n, m; char str[30][30]; char str2[30][30]; int main(){ scanf("%d %d",&n,&m); for(int i=0; i<n; i++){ scanf("%s",str[i]); } for(int i=0; i<n; i++){ scanf("%s",str2[i]); for(int j=0; j<m; j++){ if(str2[i][2*j] != str2[i][2*j+1]){ puts("Not Eyfa"); return 0; } if(str2[i][2*j] != str[i][j]){ puts("Not Eyfa"); return 0; } } } puts("Eyfa"); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...