Submission #16611

#TimeUsernameProblemLanguageResultExecution timeMemory
16611eaststar뚊 (kriii3_EE)C++14
20 / 20
0 ms1084 KiB
#include <stdio.h> char a[11][11],b[11][21]; int main(){ int i,j,n,m; scanf("%d%d",&n,&m); for(i=1;i<=n;++i)scanf("%s",a+i); for(i=1;i<=n;++i)scanf("%s",b+i); for(i=1;i<=n;++i){ for(j=0;j<m&&a[i][j]==b[i][j*2]&&a[i][j]==b[i][j*2+1];++j); if(j<m){ printf("Not "); break; } } puts("Eyfa"); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...