Submission #16430

# Submission time Handle Problem Language Result Execution time Memory
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;
}
# 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