Submission #15037

# Submission time Handle Problem Language Result Execution time Memory
15037 2015-07-11T06:17:45 Z ggoh 뚊 (kriii3_EE) C++
20 / 20
0 ms 1084 KB
#include<cstdio>
int a,b,i,c,j;
char s[11][11],w[11][21];
main()
{
	scanf("%d%d",&a,&b);
	for(i=0;i<a;i++)
	{
		scanf("%s",s[i]);
	}
	for(i=0;i<a;i++)
	{
		scanf("%s",w[i]);
	}
	for(i=0;i<a;i++)
	{
		for(j=0;j<b;j++)
		{
			if(s[i][j]!=w[i][2*j])c++;
			if(s[i][j]!=w[i][2*j+1])c++;
		}
	}
	if(c)printf("Not ");
	printf("Eyfa");
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1084 KB Output is correct
2 Correct 0 ms 1084 KB Output is correct
3 Correct 0 ms 1084 KB Output is correct
4 Correct 0 ms 1084 KB Output is correct
5 Correct 0 ms 1084 KB Output is correct
6 Correct 0 ms 1084 KB Output is correct
7 Correct 0 ms 1084 KB Output is correct
8 Correct 0 ms 1084 KB Output is correct
9 Correct 0 ms 1084 KB Output is correct
10 Correct 0 ms 1084 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1084 KB Output is correct
2 Correct 0 ms 1084 KB Output is correct
3 Correct 0 ms 1084 KB Output is correct
4 Correct 0 ms 1084 KB Output is correct
5 Correct 0 ms 1084 KB Output is correct
6 Correct 0 ms 1084 KB Output is correct
7 Correct 0 ms 1084 KB Output is correct
8 Correct 0 ms 1084 KB Output is correct
9 Correct 0 ms 1084 KB Output is correct
10 Correct 0 ms 1084 KB Output is correct