Please help me to understand the code!

Revision en3, by Dream_Coder10, 2020-08-19 22:46:16

(https://codeforces.com/contest/1360/submission/90406376)

In this submission "char a[60][60]" written before "int main()" and for two dimensional character array inpute taken in one dimensionally...

I wrote char a [60][60] inside "int main()" & took input in two dimensionally "cin>> a[i][j]" , I did not get any errors in my compiler(codeblocks) but Codeforces Showed me judgemental error..... But after submitting the above code,it accepted!!!....

Can anyone explain me why this has happened?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English Dream_Coder10 2021-04-20 13:56:46 4 Tiny change: 'e code,it accepted!' -> 'e code,it has accepted!'
en3 English Dream_Coder10 2020-08-19 22:46:16 3 Tiny change: 'ute taken one dime' -> 'ute taken in one dime'
en2 English Dream_Coder10 2020-08-19 22:43:45 2 Tiny change: 'mensionall... \n\' -> 'mensionally... \n\'
en1 English Dream_Coder10 2020-08-19 22:42:47 545 Initial revision (published)