0_0_24213632_12182.cpp:5:11: error: '::main' must return 'int' void main(){ ^ 0_0_24213632_12182.cpp: In function 'int main()': 0_0_24213632_12182.cpp:9:4: error: return-statement with no value, in function returning 'int' [-fpermissive] return; ^