Submission #15619

# Submission time Handle Problem Language Result Execution time Memory
15619 2015-07-13T11:08:12 Z joonas 뚊 (kriii3_EE) C++
20 / 20
0 ms 1084 KB
#include <cstdio>
#include <cstdlib>

char G[51][51];

int main (){
    int N, M, i, j;
    scanf("%d %d ", &N, &M);
    for(i=0; i<N; ++i) fgets(G[i], sizeof(G[i]), stdin);
    
    bool r=true;
    for(i=0; i<N; ++i){
        char buf[51]={};
        fgets(buf, sizeof(buf), stdin);
        for(j=0; j<2*M; ++j) r &= buf[j] == G[i][j/2];
    }
    
    printf("%syfa", r?"E":"Not E");
    
    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