Hello.
Today round is prepared by me. My name is Mikhail Tikhomirov, i am fourth grade student at mech.-math. dep. of MSU, also i work as developer-researcher at Yandex.
I want to thank Artem Rakhov (RAD) for valuable help and thoughtful coordination, Maria Belova (Delinur) for great-as-always translating statements into English, and alsoMikeMirzayanov for letting us all get together today. =)
Round will be for both divisions. Every division will have five problems as usual, some of them will be the same, some will be not.
Score distribution:
Div1: 500-1000-2000-2000-2500.
Div2: 500-1000-1500-2000-3000.
Today round is the last round in 2011. I want to thank Codeforces team, everyone who invented, prepared or helped in preparing problems this or past years, and those, who help developing the project. Codeforces now is not just a platform for programming competitions, it is a place where everyone can learn something from another, get a bit of knowledge from more experienced fellows, become more advanced by solving contests and trainings, or just enjoy cool and beautiful problems.
Let's wish the Codeforces project good luck in development next year and long years of existence.
Happy new year! =)
UPD:
Round finished. Thanks everybody! Hope you enjoyed it.
Winners:
Div1:
1. ivan.popelyshev
2. al13n
3. WJMZBMR
4. yeputons
5. romanandreev
6. dolphinigle
7. wata
8. Shef
9. shangjingbo
10. azizkhan
Div2:
1. s-quark
2. wayne-ho
3. emrevarol
4. agh
5. lzqxh
Due to some techinical problems, server was unavailable for few minutes before the end of the contest. Out of two unpleasant options: make the round unrated or stay as it is, we choose the second one as it affects the less number of contestants. We apologize to those participants who are affected by this.
UPD2: Editorial is finally translated.
The score of problem E(Div.2) is 3000! Unusual!
I also wish the whole codeforces team a very successful year 2012 and wish all the participants high ratings and great accomplishments!
Now, according to the given conditions, stripes must be vertical, i.e, the length of the wallpaper should go along the height of the walls. So, if length of wallpaper < height of the room. Cost is infinity.
Also, the wallpapers should only be glued vertically, i.e, when you cut the roll in pieces you have to discard the paper that is less than height of the room. For eg, If length=10, h=3. it will be cut in 3 pieces of 3 height. The 1x3 cut will go to waste.
You can assume that there is one wall with length=2*l+2*w and height=h, for a single room.
Cool story, bro.It isn't something strange that server becomes very slow for last few minutes, isn't it?
Each problem has 40-50 lines
And for me to translate the questions is very hard during the contest.
Aim of the problem statement should be to explain the problem to the participant not confuse him.
PS: I got 3 WA's on C, because I missed the following line "If a line has less than k vowels, then such line can't rhyme with any other line". It was written separately from other conditions.
Look at the following C++ function that is supposed to return the position of k-th vowel from the right of nonempty string s if the number of the vowels does not exceed k, or
string::npos
otherwise.Is this code correct? If not, why?
Answer: when s has k - 1 vowels and (k - 1)-th vowel is at the beginning of s, this function does not return
string::npos
though it should.this is test kind of this:
I have a wrong answer on test 39, too
Thank you very much.
I had O(NK log K) where the K log K came from just a single sort--seemed like it should be efficient enough.
I already wrote the editorial in Russian, and soon wiil translate it in English (if someone doesn't do that earlier).
[The joins must be vertical and you cannot rotate. ]
A figure could have made the statements better.
And Is the match rated ?( as lots of people cannot submit in the last moment.)
Don't make it as "vote if you want it to be rated" .
May be we sud start learning it.
(It is the only contest being held in multiple languages)
(May be some day, it follows ICPC style or Topcoder style and make a single language contest, that way , nobody will get unfair language advantage.)
(Maybe its only my concern)
Yes, I agree that this problem's difficulty is a bit too high for B div 2 (because of the statement). But anyway, I don't understand, why many people couldn't solve it. The comments to the example help very much. My first attempt got RE4 (because of division by zero), but it's pretty easy to see the source of it.
i failed in 37th testcase for problem 3 in div2..
on checking my submissions i am only able to see the small part of the testcase...
how to get the complete testcase ?
2 1
a
bi
bi
a
a
a
a
But please have some graph problems in future contests!
Thanks, Happy new year!