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:提供组测试数据吧。。。In Reply To:Re:提供组测试数据吧。。。 Posted by:huxinjie at 2010-03-04 22:37:04 原来判断是需要时间的额...........判断耗的时间还不少呢........ while(1) { ff=0; if((sum-e)%ee)ff=1; if((sum-i)%ii)ff=1; if(ff==0&&sum>d)break; sum+=pp; if(sum-d>21252)break; } 这个是94ms while(1) { ff=0; if((sum-e)%ee)ff=1; if((sum-i)%ii)ff=1; if(ff==0&&sum>d)break; sum+=pp; } 这个是32ms Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator