0_0_13992984_9417.cpp:2:2: error: expected unqualified-id before 'while' while (scanf("%d%d",&n,&m)!=EOF){ ^