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 GeniusPraise at 2005-08-28 19:51:29 on Problem 1871
google回来的数据和程序,发现程序有BUG的,精度控制有问题
  if (fx < 0 || fy < 0 || fz < 0 || x < 0 || y < 0 || z < 0 || x >= N || y >= N || z >= N)
    return;
上面fx应该是 fx<-1e-06吧

如果pku是用该程序生成数据,或者采取的数据是由该程序生成
那么我就WA得很冤枉了-_-

毕竟这是Final的题目

ps. 用有bug的程序就AC了,但修改了此bug却WA了...

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