0_0_20109884_15400.cpp: In function 'int main()': 0_0_20109884_15400.cpp:24:27: error: expected ')' before '!' token while(scanf("%d%d",&n,&m)!EOF) ^ 0_0_20109884_15400.cpp:24:31: error: expected ';' before ')' token while(scanf("%d%d",&n,&m)!EOF) ^