Date: 2013-08-29 10:13:03
Because the problem mentioned that :
A+B > 0
but maybe one of them be zero ! and you always store the lower one into 'b' variable, and when you perform a/b or a%b it would be runtime error ,
that's what I think
| 22.10.12 - The problems from the Southern Subregional Programming Contest 2012 added to the problemset archive (542 - 553). |
22.10.12 - After the start of the contest the statements in PDF will be available by the link.
23.10.11 - The problems from the Southern Subregional Programming Contest 2011 added to the problemset archive (530 - 541).