| ||||||||||
| 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 | |||||||||
不知道这题的数据是否保证正确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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator