ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1639. Chocolate 2

It doesn't need "return 0" In the end of the program ?
Posted by jacinto 1 Jul 2011 06:16
when I add the "return 0" in the end the program ,it showed wrong answer,but once removed the "return 0",it's accept!you guys know why? I am a new ACMer!
Re: It doesn't need "return 0" In the end of the program ?
Posted by hatred 9 Jul 2011 21:34
i dunno why adding return 0 takes an error but if in the end of main() compiler doesnt find this operator it adds it automaticly

Edited by author 09.07.2011 21:35