|
|
back to boardsomething surprise...... some of my code: { now:=sqr(x1[i]-x)+sqr(y1[i]-y)+sqr(z1[i]-z); if now-ans<zero then ans:=now; } If I make zero=-1e-6,WA.But if make zero=0 or zero=-1e-10 it got AC... If it is about precision, why zero=0 OK? Edited by author 04.03.2005 22:20 |
|
|