return 0 implicit

后端 未结 2 1130
攒了一身酷
攒了一身酷 2020-12-03 11:09

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 stan

2条回答
  •  旧巷少年郎
    2020-12-03 11:35

    You could show them the line in Bjarne Stroustrup's book defining the standard where it states it: since it is the canonical standard for the language, it is not open for debate. Unfortunately I don't have a copy to look it up myself.

提交回复
热议问题