0_0_34814042_30025.cpp:3:11: error: '::main' must return 'int' void main() ^ 0_0_34814042_30025.cpp: In function 'int main()': 0_0_34814042_30025.cpp:11:24: error: 'prinf' was not declared in this scope prinf("%I64d\n",a[n]); ^