답안 #16430

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
16430 2015-08-24T17:08:59 Z jun6873 뚊 (kriii3_EE) C++
20 / 20
0 ms 1084 KB
#include <stdio.h>

int main(void)
{
    int lnum,cnum;
    int Eyfa=1;
    scanf("%d %d",&lnum,&cnum);

    char a[11][11];
    char b[11][21];

    for (int i=0;i<lnum;i++) scanf("%s",a[i]);
    for (int i=0;i<lnum;i++) scanf("%s",b[i]);
    for (int i=0;i<lnum;i++) for (int j=0;j<cnum*2;j++) if (b[i][j]!=a[i][j/2]) Eyfa=0;

    if (Eyfa) printf("Eyfa");
    else printf("Not Eyfa");

    return 0;
}
# 결과 실행 시간 메모리 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
# 결과 실행 시간 메모리 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