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 1126. Magnetic Storms

What is fuck with test #9???
Posted by I&K 13 May 2007 15:48
It is said in problem text that the number of measurings does not exceed 25001. But my program get AC only if I set this number >=25002, else WA#9!!! Check your test please!!! This problem appeared after rejudgement.
Re: What is fuck with test #9???
Posted by Sandro (USU) 14 May 2007 00:29
Sorry for wrong verdict after regudge. N was equal 25002 in 9th test. It was my bug.

Limitations in the problem statement were changed. Now N <=25000 (as in the original version of problem). All tests with N>25000 were fixed, submits were rejudged.

If somebody will find more bugs in this problem, please, write about it.

Edited by author 14.05.2007 00:30
Re: What is fuck with test #9???
Posted by Alexander Kouprin 14 May 2007 04:58
Sandro, you add only one test? In test 9 M=2. My wrong solution works now 0.015 :)))

Edited by author 14.05.2007 04:59
Re: What is fuck with test #9???
Posted by Sandro (USU) 14 May 2007 11:44
The limitations in the problem statement are weak. Do you have a test that fails your solution with "if m<100"?
By the way you can also replace this line with "if m<1000" :)

Try to solve this problem with limitations N<=10^6, numbers <= 10^9. It will be not so easy to get AC with O(N^2) solution. :)

If you have some good tests you can mail me: sandro sobaka plotinka ru

Edited by author 14.05.2007 11:48