Welcome to the Codeforces Beta Round #6.
It will be good to see your feedback and impressions in the comments.
Wish you high rating,
MikeMirzayanov.
UPD. It seems the problem D has some tricky issues around judge solutions. Judge solutions will be fixed and the problem will be rejudged. If it will affect many participants, the contest will not be rated.
UPD 2. We have reduced constraints in the problem D and made rejudge. No solution passed tests. So the rejudge affected significantly only 4 participants, who solved it during the contest. But all of them increase their rating if we will count the contest as rated event. So we decided to make it rated and put problem with lowered constraints into the practice.
UPD 3. And by the way, the round tutorial is waiting for a volunteer. The tutorial should be in Russian and in English. It will be published on the homepage and later will be available via special link from the contest page.
I do not think the problem statement was very well written....
And i wasted lot of time thinking that my approach was correct. I tried removing the newline from print statemnt and got AC!. I think the judge should ignore the Presentation error Or at least detect that and display the status accordingly.
however, i dont think this one minute actually affected the rankings much
4 100 1
1 10000 1 1
i think most accept code is wrong.
or there is something wrong in it?
i think the ac summissions maybe something wrong!
There was a limit to output in old constraints, see wrong accepted submissions.
But I assume that is not possible to solve this problem in the old constraints, and I can't imagine what obviously wrong greedy did in author's solve (which I didn't see, however, just suggest by solutions what was accepted).