Submission #18582

# Submission time Handle Problem Language Result Execution time Memory
18582 2016-02-09T15:27:08 Z jjhstop 뚊 (kriii3_EE) C++
0 / 20
0 ms 1076 KB
#include<stdio.h>

char src[10][10];
char tgt[10][20];

int main()
{
	int N, M;
	freopen("input.txt", "r", stdin);
	scanf("%d %d ", &N, &M);
	for (int i = 0; i < N; i++) {
		for (int j = 0; j < M; j++) {
			scanf("%c ", &src[i][j]);
		}
	}

	for (int i = 0; i < N; i++) {
		for (int j = 0; j < 2*M; j++) {
			scanf("%c", &tgt[i][j]);
			if (src[i][j / 2] != tgt[i][j]) {
				printf("Not Eyfa");
				return 0;
			}
		}
	}
	printf("Eyfa");
}
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 1076 KB open (syscall #2) was called by the program (disallowed syscall)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Halted 0 ms 0 KB -