Saratov State University :: Online Contester


::Go
- home
- news
- register
- update personal info
- problemset archive
- submit
- status online
- standing
- contests
- virtual contests
- forum
- statistic
- FAQ
- links
- projects

::Poll
Are you registered on Codeforces?
Yes
No
What is it???

[results]

::webboard

Re: why runtime eror
Author: LiTi
ID: 059414
Problem: 126
Contest: 0
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
Best Regards
Tom

see sub-tree reply to that message


::Login
Forgot password?

::News
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).

::Counter

Server time: 2017-11-21 07:10:24Online Contester Team © 2002 - 2016. All rights reserved.