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