0_0_30521187_3399.cpp: In function 'int main()': 0_0_30521187_3399.cpp:12:32: error: 'n' was not declared in this scope while (~scanf("%lld", &n)) ^