Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:请问,我的这个代码为什么会RE呢?谢谢:)In Reply To:Re:请问,我的这个代码为什么会RE呢?谢谢:) Posted by:ACMTino at 2005-08-30 20:25:17 if(a%b==0)temp--; hah, I find the error, because the two "if(a%b==0)temp--;" are the same. But the other one should be "if(b%a==0)temp--;" hope you could understand ^^ again b%0 could cause runtime error Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator