The last week on the ACM ICPC Mexico competition, I missed a "return 0" on a C++ program. For this reason we got punished with 20 minutes.
I had read that the standard does not oblige us to write it at the end of a main function. It is implicit, isn't it? How can I prove it?
We were using a Fedora system with a G++ compiler.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…