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

Fyodor Menshikov Invalid test 2 [3] // Problem 1126. Magnetic Storms 30 Oct 2006 11:20
"The number of measurements doesn't exceed 25000."

Test 2 has 25001 measurements.
SPIRiT You're absolutely right [2] // Problem 1126. Magnetic Storms 30 Oct 2006 17:54
I've had an array of 25000 elements and got WA at test 2. When I changed the array to the size 30000 elements, I got AC. Unbelievable, isn't it!!!
Nechaev Ilya (Rybinsk SAAT) Re: You're absolutely right [1] // Problem 1126. Magnetic Storms 30 Oct 2006 19:57
I usually use (N+10) as array size. So in my solution for this problem array size was 25010, and I get AC. Nice.