ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1422. Fireflies

Incorrect tests!
Posted by Vedernikoff Sergey 15 Nov 2006 14:55
From the statement:

"(-1000000<=X[i], Y[i], Z[i]<=1000000"

But simple testbug checker:

  for i := 1 to n do
    if (abs(p[i].x)>1000000) or (abs(p[i].y)>1000000) or (abs(p[i].z)>1000000) then
      ole;

gives verdict "Output limit exceeded". So, in the test #9 some coordinates are too big. Yhis is VERY bad, because, for example, my hash function causes "Crash"...
Re: Incorrect tests!
Posted by Ilya Grebnov[Ivanovo SPU] 15 Nov 2006 15:33
Fixed. Problem statement updated. Now -10000000<=X[i], Y[i], Z[i]<=10000000