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:用中国剩余定理固然可以做出来,但请问我这样做怎就wa了呢?麻烦看一下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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator