0_0_28823377_6636.cpp: In function 'int main()': 0_0_28823377_6636.cpp:14:20: error: 'n' was not declared in this scope while(~scanf("%d",&n)) ^