0_0_29621372_13451.cpp: In function 'int main()': 0_0_29621372_13451.cpp:6:29: error: 'n' was not declared in this scope for( ; EOF != scanf("%d", &n); ) { ^