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