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

Common Board

Problem 1003
Posted by Vasil Popovski 3 Oct 2000 13:44
Does anybody solved Problem 1003.
I think something is wrong with this problem.
manwithoutface solve it!
Posted by tjq(killer of zju) 3 Oct 2000 14:10
> Does anybody solved Problem 1003.
> I think something is wrong with this problem.

Only manwithoutface solve it I suppose, he is awesome, I
tried many times but still got time limit exceeded, I now
try to find the relationship between this problem and A
problem from boi99, to improve my algorithm
Re: Problem 1003
Posted by ManWithoutFace (USU) 3 Oct 2000 15:45
Problem 1003 is bad. Very bad.
I got timelimits until I use some euristics.
Is this input correct and what the output should be? (+)
Posted by Grichenko 3 Oct 2000 18:43
I'm not sure about the input format. Is the following
input allowed and should the output contain just 3 numbers?
My program reports "output limit", on my local computer this
occures only if I skip one of the first two numbers.

10
2
1 2 even
3 4 odd
100000
1
1 2 even
1000000000
1000
1 2 even
...
7 10 odd
-1
what's euristics mean?
Posted by tjq(killer of zju) 3 Oct 2000 20:15