# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16830 | nona1314 | 뚊 (kriii3_EE) | C++98 | 0 ms | 0 KiB |
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 <iostream>
#include <string>
#include <vector>
using namespace std;
int main(){
int n,m;
cin>>n>>m;
vector<string> ehfeha;
for(int i=0;i<n;i++){
string s,ss;
cin>>s;
for(char &x : s){
ss.push_back(x);
ss.push_back(x);
}
ehfeha.push_back(ss);
}
for(int i=0;i<n;i++){
string s;
cin>>s;
if(ehfeha[i] != s){
printf("Not ");
break;
}
}
puts("Eyfa");
return 0;
}