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

Re:用中国剩余定理固然可以做出来,但请问我这样做怎就wa了呢?麻烦看一下

Posted by 08060029 at 2009-07-23 19:39:08 on Problem 1006
In Reply To:Re:用中国剩余定理固然可以做出来,但请问我这样做怎就wa了呢?麻烦看一下 Posted by:qzmc at 2009-07-21 17:13:24
谢谢哈!!!!

if((day-a2)%28==0&&(day-a3)%33==0&&day-d>0)
	break;
只要找到了符合条件的n,自然会退循环,不是吗?


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