0_0_18749148_4473.cpp: In function 'int main()':
0_0_18749148_4473.cpp:103:29: error: expected ')' before ';' token
while (~scanf("%d%d",&n,&m);){
^
0_0_18749148_4473.cpp:103:30: error: expected primary-expression before ')' token
while (~scanf("%d%d",&n,&m);){
^
|