[Solved]
Question
Submission 1
Submission 2
Both the submissions are exactly same except in the first submission i am using
string grid[n]; (right answer)
and in second submission i am using
char grid[n][m]; (wrong answer)
Can anyone please tell me the reason for this behaviour in C++
@vijju123
Thanks in advance…!