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 hawk at 2005-08-16 19:51:54 on Problem 2566
In Reply To:此题的spcial judge貌似有错 Posted by:kala at 2005-08-16 19:43:51
spj没有用到答案的后面两个数
spj就是先判断一下你的答案是不是最靠近
然后把你的l和u之间的数据加一下,看看和的绝对值是不是等于你的答案
> 输出的第576行
> 我的程序输出的是 
> 172896 8 569
> 标准输出为
> 172896 205 569
> 经过我对数据的测试,发现从第8个数加到第569个数的和为-172896
> 我在程序中专门加入对这一组数据进行专门的判断,当处理到第576时输出172896 205 569,结果就ac了

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