0_0_36706821_7975.cpp:24:11: error: '::main' must return 'int' void main() ^ 0_0_36706821_7975.cpp: In function 'int main()': 0_0_36706821_7975.cpp:31:13: error: return-statement with no value, in function returning 'int' [-fpermissive] return; ^