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