Submission #15058

#TimeUsernameProblemLanguageResultExecution timeMemory
15058xhae뚊 (kriii3_EE)C++14
20 / 20
0 ms1720 KiB
#include <iostream> #include <string> using namespace std; string orig[10], db[10]; int n, m; int main(void) { cin >> n >> m; for(int i = 0; i < n; i++) cin >> orig[i]; for(int i = 0; i < n; i++) cin >> db[i]; bool isAns = true; for(int i = 0; i < n; i++) for(int j = 0; j < m * 2; j++) if(orig[i][j / 2] != db[i][j]) isAns = false; if(isAns) cout << "Eyfa\n"; else cout << "Not Eyfa\n"; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...