0_0_38564733_382.cpp: In function 'int main()': 0_0_38564733_382.cpp:9:27: error: 'N' was not declared in this scope while(~scanf("%I64d",&N)) ^ 0_0_38564733_382.cpp:11:9: error: 'sum' was not declared in this scope sum = 0; ^