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