0_0_34159180_28347.cpp: In function 'int main()': 0_0_34159180_28347.cpp:6:23: error: 'scanf' was not declared in this scope while (~scanf("%d",&n)) ^ 0_0_34159180_28347.cpp:9:19: error: 'printf' was not declared in this scope printf("%lld\n",h); ^