Submission #16831

# Submission time Handle Problem Language Result Execution time Memory
16831 2015-10-05T03:25:57 Z nona1314 뚊 (kriii3_EE) C++14
20 / 20
0 ms 1720 KB
#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;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1720 KB Output is correct
2 Correct 0 ms 1720 KB Output is correct
3 Correct 0 ms 1720 KB Output is correct
4 Correct 0 ms 1720 KB Output is correct
5 Correct 0 ms 1720 KB Output is correct
6 Correct 0 ms 1720 KB Output is correct
7 Correct 0 ms 1720 KB Output is correct
8 Correct 0 ms 1720 KB Output is correct
9 Correct 0 ms 1720 KB Output is correct
10 Correct 0 ms 1720 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1720 KB Output is correct
2 Correct 0 ms 1720 KB Output is correct
3 Correct 0 ms 1720 KB Output is correct
4 Correct 0 ms 1720 KB Output is correct
5 Correct 0 ms 1720 KB Output is correct
6 Correct 0 ms 1720 KB Output is correct
7 Correct 0 ms 1720 KB Output is correct
8 Correct 0 ms 1720 KB Output is correct
9 Correct 0 ms 1720 KB Output is correct
10 Correct 0 ms 1720 KB Output is correct