0_0_35342434_13649.cpp: In function 'int main()': 0_0_35342434_13649.cpp:10:23: error: 'n' was not declared in this scope while(scanf("%d",&n)!=EOF){ ^