
contests - it's getting worse again...
Moderator: Board moderators
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
contests - it's getting worse again...
Competing in UVA contests is getting impossible. I got used to waiting very long for results, but this time OJ didn't even accept submissions 

-
- Guru
- Posts: 1080
- Joined: Thu Dec 19, 2002 7:37 pm
Re: contests - it's getting worse again...
+1Krzysztof Duleba wrote:Competing in UVA contests is getting impossible. I got used to waiting very long for results, but this time OJ didn't even accept submissions
I spent the last hour clicking "browse...", "submit", "browse...", "submit", and so on... Throwing away submissions (while printing that it was successful!) is indeed very bad practice. The behavior of the UVa judge during the last 90 minutes ruined what could be a nice contest.
(Needless to say, I've got at least one solution I assume is correct, but I was unable to submit it for quite a long time.)
When I see the "progress" the UVa judge made in the last months, I can't help thinking that it won't get any better soon

Yeah, now (40 minutes after the contest) I'm getting a lot of "out of contest time" e-mails for submits I made an hour ago. Sad and annoyingGriffon wrote:But the submits during the last 16 minutes were not lost! they appeared in the judge status after the end of the contest and of course got "Out of contest time". Isn't it unfair?

BTW not only the last 16 minutes were problematic, from my point of view during the last hour there were just (probably) 5-10 minutes when submitting actually worked.
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
To Krzysztof Duleba: Thank you very much, I just didn't read the statement carefully, so I missed "strict ascending" and tried to solve non strict one. Thanks a lot once more.
To Sanny: Read the contest clarification board. There it is written that N <= 8, but not N <= 7. Rather unfair I think, but so it is. By the way, I got AC just by bruteforce without any bipartite matching.
To Sanny: Read the contest clarification board. There it is written that N <= 8, but not N <= 7. Rather unfair I think, but so it is. By the way, I got AC just by bruteforce without any bipartite matching.
You're not aloneGriffon wrote:To Krzysztof Duleba: Thank you very much, I just didn't read the statement carefully, so I missed "strict ascending" and tried to solve non strict one. Thanks a lot once more.

Oh, for how long did I try to solve the task without the word "ascending"? I kept wondering why so many people solved it... until finally I noticed this magic word

Yep, I had two wrong submits on that one, the first one assumed that N<=7 and crashed, the second one contained an assert(N<=7) and aborted. After that I e-mailed clarify@acm.uva.es with a suggestion that the input data should be fixed and the problem should be rejudged. Apparrently, the only result of my e-mail was the added clarification.Griffon wrote:To Sanny: Read the contest clarification board. There it is written that N <= 8, but not N <= 7. Rather unfair I think, but so it is. By the way, I got AC just by bruteforce without any bipartite matching.

In the contest I got AC with a O(N*2^{2N}) algorithm (for each subset compute the best solution).
IMHO this approach doesn't work. Consider 6 people distributed as follows:Sanny wrote:I saw the clarification. That's not the problem.
Bipartite matching can be applied in this way:
On left are 2*n people and on the right are those same 2*n people. Then you find mincost matching and divide total cost by two.
Regards
Sanny
Code: Select all
A D
B C E F
The min cost matching you find is A1-B2, B1-C2, C1-A2, D1-E2, E1-F2, F1-D2 with a total cost of 60. Still, the best solution for the original problem is A-B, D-F, C-E with a total cost of 220.