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