0_0_26124692_6953.cpp:1:1: error: expected unqualified-id before 'for'
for(int i=1;i<=n*m+2;i++){
^
0_0_26124692_6953.cpp:1:13: error: 'i' does not name a type
for(int i=1;i<=n*m+2;i++){
^
0_0_26124692_6953.cpp:1:22: error: 'i' does not name a type
for(int i=1;i<=n*m+2;i++){
^
|