0_0_14012165_12100.cpp:3:1: error: expected unqualified-id before 'while' while(scanf("%d",&n)!=EOF) ^ 0_0_14012165_12100.cpp:8:1: error: expected unqualified-id before 'return' return 0; ^