0_0_31464345_4502.cpp: In function 'int main()': 0_0_31464345_4502.cpp:6:2: error: expected initializer before 'while' while(~scanf("%d%d",&m,&n)) ^ 0_0_31464345_4502.cpp:17:1: error: expected '}' at end of input } ^