Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

我的办法判断输出零 觉得还可以

Posted by ccnujing at 2008-04-01 20:29:50 on Problem 2897
如果没有结果的话意思就是说在算的过程中开始循环。。。
  所以我用一个bool a[10][10];记录每次的得到的数和余数 如果在没有得要结果前再碰到这样的一组数就所以以后就开始不停的循环 这个时候就跳出吧

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator