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:这个值除以21252余2,正好等于i

Posted by kknd123 at 2005-03-02 22:35:27 on Problem 1006
In Reply To:这个值除以21252余2,正好等于i Posted by:hawk at 2005-03-02 22:18:40
> 题目保证peak是21252内,你算出来的peak确实是21252内阿,没矛盾
 你没理解小弟我的意思,算出来的确实是在21252内,但是最后的循环的值是强制结束的,也就是说并不满足不定方程的解。而用21254-27虽然小21252,但是没有任何意义。如果循环的值在21252内结束,那我们当然可以接受,但21254这个值是算法决定的,所以虽然这组数据的答案小于要求的值,但是无法解释为什么要用循环的值减去天数。
我是这样想的。

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