Блог пользователя BigBag

Автор BigBag, 10 лет назад, По-русски

Всем привет!

23 сентября в 16:05 MSK состоится Codeforces Round #373 для участников обоих дивизионов. Пожалуйста, обратите внимание, что время проведения отличается от стандартного.

В этот раз задачи для вас готовили я (Матвей Асландуков) и мой брат _XuMuk_ (Андрей Асландуков). Это наш первый раунд на codeforces, и мы надеемся, что он вам понравится. Отдельное спасибо хочется сказать Seyaua (Евгению Соболеву), AlexFetisov (Александру Фетисову) и winger (Владиславу Исенбаеву) за помощь в тестировании раунда, GlebsHP за помощь в подготовке раунда, а также MikeMirzayanov за замечательные системы Codeforces и Polygon.

Так совпало, что дата проведения раунда приходится на мой день рождения, так что мне очень приятно, что я смогу провести этот день в кругу нашего дружного сообщества :)

Вам будет предложено пять задач и два часа на их решение. Традиционно, разбалловка будет объявлена ближе к началу раунда.

Всем удачи!

UPD1:

Разбалловка:

Div. 2 : 500 1000 1500 2250 2250

Div. 1 : 500 1250 1250 2000 2500

Задачи расставлены в порядке увеличения сложности, но мы настоятельно рекомендуем прочитать условия всех задач.

UPD2:

Соревнование завершено! Всем спасибо за участие :)

К сожалению, как заметил Um_nik, многие решения задачи div.1 B, в том числе и авторское, оказались неверными. Сейчас мы будем разбираться с этой проблемой. Если все-таки удастся найти правильное решение и ответы на претесты будут совпадать, то раунд, возможно, будет рейтинговым. Иначе, его придется сделать нерейтинговым.

Исходя из этого результаты существенно задерживаются. Приносим извинения за сложившуюся ситуацию. Если у вас есть мысли по поводу правильного решение — пишите.

UPD3:

Принято решение запустить системное тестирование с текущими тестами и решениями. Вопрос, будет ли раунд рейтинговым, еще обсуждается.

UPD4:

Итоговое решение по рейтинговости раунда.

После долгих совещаний и консультаций команда Codeforces приняла решение, что основопологающим фактором при принятии решения о рейтинговости или нерейтинговости раунда должна служить степень влияния проблемы на итоговый результат.

Поскольку во втором дивизионе только два участника смогли реализовать верно работающую жадность, которая предполагалась в задаче D как правильное решение, мы считаем, что данная задача не имела большого влияния на результаты контеста и для второго дивизиона раунд должен быть рейтинговым.

Наоборот, в первом дивизионе было отправлено достаточно много решений по задаче B, более того, большую часть времени участники потратили на задачи B и C, поэтому мы считаем, что некорретность модельного решения оказала существенное влияние на ход контеста, и это влияние не может быть как-либо разумно учтено, поэтому контест первого дивизиона следует признать нерейтинговым.

Нам остаётся лишь принести участникам свои извинения, и приложить максимум усилий для избежания повторения подобных ситуаций в будущем.

UPD5:

Поздравляем победителей!

Div.1:

  1. enot110
  2. Egor
  3. KrK
  4. UsedToBe
  5. IvL

Div.2:

  1. Adenium_Rose_Of_Desert
  2. GS_ZJ_137
  3. haqkux201
  4. MemoryLimitExceeded
  5. immortalCO

Разбор готов!

  • Проголосовать: нравится
  • +557
  • Проголосовать: не нравится

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +41 Проголосовать: не нравится

С наступающим днем рождения :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +173 Проголосовать: не нравится

Happy birthday BigBag

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Why is the timing unusual? Quite early for working day.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -48 Проголосовать: не нравится

If it could be delayed it would be better

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

I hope that this becomes the usual time, or at least please hold more contests at this time, so that my students can participate. The usual time 12:35am — 2:35am local time is too late for them.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Duh, last contest was 6:35 AM for me and this is 6:05 AM, things are getting worse :P.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +29 Проголосовать: не нравится

Contest will start at 20:05 UTC+7 in my area. Best time for me (y) . Happy Birthday, man!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

С днем рождения!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

С наступающим!

Но рановато для меня =(

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +65 Проголосовать: не нравится

tomorrow is also my birthday,a good time of the contest,it will start at 21:05,at the end of birthday,i can enjoy the contest.thank you for preparing the contest.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +11 Проголосовать: не нравится

Contest will start at 21:05 UTC+8 in my area.So I can spend at most 5 minutes on road.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +40 Проголосовать: не нравится

The only good thing of being a Syrian, is as much as the timing is unusual, It's always great in here :D

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -9 Проголосовать: не нравится

Something is wrong with the registration. Number of registrants there and there are diferent. + my registration was cancelled.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +152 Проголосовать: не нравится

Предыдущий раунд, теперь этот...

Сначала ты рассказываешь им, как нормально дфс писать, а потом они дают раунды, которые ты сливаешь :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Happy birthday BigBag !. :) Waiting for your dishes.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

Happy Birthday BigBag . Waiting for your dishes.! :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -16 Проголосовать: не нравится

Happy birthday.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -18 Проголосовать: не нравится

BigBang Many many happy returns of tomorrow like tomorrow!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +27 Проголосовать: не нравится

BigBag Many many happy returns of tomorrow like tomorrow! :)

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится -35 Проголосовать: не нравится

Many Happy returns of the day.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +22 Проголосовать: не нравится

Double Comments post.

»
10 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится +8 Проголосовать: не нравится

Happy Birthday BigBag.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +43 Проголосовать: не нравится

Happy Birthday, BigBag!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -17 Проголосовать: не нравится

Happy Birthday Matvey Aslandukov[user:bigbag]!!!!!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -16 Проголосовать: не нравится

GLHF

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Happy Birth Day, hope the problem will be amazing as your birthday gifts :D

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

We want your birthday treat by easy problems to solve and good ratings. And Happy Birthday to you BigBag.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +12 Проголосовать: не нравится

As a Chinese student, late Codeforces round make my routine little bit hactic...Thank U so much for choosing such a nice time for the contest.. Hoping to gear some of my rating points and wish everyone a high rating~~ :) and happy birthday BigBag

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

happy birth day, bigbag

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Happy B'day... BigBag

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -6 Проголосовать: не нравится

Happy B'day.. BigBag

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +2 Проголосовать: не нравится

HBD BigBag :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

生日快乐:)(<--Means HBD In Chinese)BigBag

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Happy Birthday DUDE !!!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Happy Birthday Dude !!!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Happy Birthday, BigBag! :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +7 Проголосовать: не нравится

Happy Birthday, BigBag! :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

It is my birthday too Happy birthday to BigBag and me Wish everyone can have a good rating after the contest (Ps:The time is very good)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

Happy birthday :D

Where is the dishes ? :P :"D

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

Great timing! Wish everyone many accepted solutions, and happy birthday BigBag :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

You are advised to read all the problems :D

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Happy Birthday BigBag! :P

So where is the scoring distribution?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Do I get rated if I have registered for this contest, but I'm not able to participate due to unstable internet connection?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

Problem A's pretests are so so weak!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +17 Проголосовать: не нравится

Why Q, why!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +21 Проголосовать: не нравится

submission in queue , it's been more than 5 minutes

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

What happened to the compiler? Submissions are in queue for almost 10 minutes already :(

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

LOL I've been watching the Status page for >10 minutes and NOT A SINGLE QUEUE has been processed????? :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

in queue for 10 min !!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -9 Проголосовать: не нравится

Thank you for weak pretest in Div2. A. It feels amazing to hack people :D :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

I think that round would be unrated.

»
10 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится 0 Проголосовать: не нравится

[del]In queue! What is wrong?[/del] It seems to be fixed, thanks.

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +67 Проголосовать: не нравится

I have nothing against hacks on Codeforces, but when problems div2 A or B have so weak pretests, solving problems pales into insignificance. As I think, solving skill should matter more in final standings than hacking skill. So pretests for problem A shouldn't be as weak as we see.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

It is about 20 pages of submissions in queue now!!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +43 Проголосовать: не нравится

There is a mistake in the announcement. Problems are not sorted by difficulty :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

What a bad luck !! i just needed 7 points to become expert and now due to this queue i think this round will be unrated and i have to wait till the next contest again :(

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +11 Проголосовать: не нравится

BigBag's Birthday is a HACK day!!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Очень странно. Прогоняю код задачи div2 C через панельку "Запуск", ответ совпадает с первым претестом (это же тот, который первый в условии?). Отправляю код на проверку, получаю вердикт: Неправильный ответ на претест 1.

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

I had to resubmit 11 times in C until I noticed pretest 6 had really large number before . :/ rip 550 points

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

So many people solved Div.2 E. Weird, looks completely unsolvable to me :D

  • »
    »
    10 лет назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +11 Проголосовать: не нравится

    Div.2 E is a great problem. You can consider the well-known method to calculate large Fibonacci Numbers , i.e., Matrix multiplication with doubling acceleration.

    Let the first matrix being A, second matrix being B, then you will get fi by ABi.

    You can build a segment tree maintaining the matrix B (or matrix AB, as you like).

    When facing the update query, simple commit an interval update — multiplying Bk to the corresponding interval of each segment tree node. Multiplying a single number into a certain interval is not a hard job, then multiplying a matrix into a certain interval will not be hard either. ( You should use lazy marking technique to make your amortized time complexity O(log(n))).

    When facing the sum query, simple extract the interval sum of matrix B (or simply AB, if you decided to maintain it rather than B) from segment tree and you are done.

    • »
      »
      »
      10 лет назад, скрыть # ^ |
       
      Проголосовать: нравится +4 Проголосовать: не нравится

      How do I use the lazy marking technique on a range? This matrix multiplication works only on single values, not sum of values, right?

      • »
        »
        »
        »
        10 лет назад, скрыть # ^ |
        Rev. 2  
        Проголосовать: нравится +3 Проголосовать: не нравится

        Hope this snippet helps.

        ls --> left son, rs --> right son

        lz is the lazy mark, update ready to pass to son.

        t is the segment tree node saving matrix AB

        init1(); is the function to put a matrix into identity matrix.

        void down(int rt){
            lz[ls] = lz[ls] * lz[rt];
            lz[rs] = lz[rs] * lz[rt];
            t[ls] = t[ls] * lz[rt];
            t[rs] = t[rs] * lz[rt];
            lz[rt].init1();
        }
        

        Segment tree is maintaining a sum of ABi, which is equivalent to the sum of fi (simply extract the [0][0] item of the matrix).Multiplying a matrix to such sum is okay due to the associative rule of matrix multiplication.

      • »
        »
        »
        »
        10 лет назад, скрыть # ^ |
         
        Проголосовать: нравится 0 Проголосовать: не нравится

        Here is a good article, explaining segment tree, at codeforces

      • »
        »
        »
        »
        10 лет назад, скрыть # ^ |
        Rev. 2  
        Проголосовать: нравится +23 Проголосовать: не нравится

        Given that fib(ai) = Aaiv where:

        You can use it this way:

        First, the sum of fib(ai) in a range [l, r] can be seen as:

        Now, fib(ai + x) is the same as (Aai + x)v, which is the same as

        fib(ai + x) = (AaiAx)v

        Now in order to add some value x to a range [l, r] :

        So, you can use lazy propagation storing the Ax in each node of your segment tree, and pushing it to the children of each node when needed!

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    You can use the following property of fibonacci numbers and this property can be used to solve the problem using segment tree with lazy propagation.
    Fib(x + y) = Fib(x + 1) * Fib(y) + Fib(y - 1) * Fib(x)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +24 Проголосовать: не нравится

DIV1 C is very well-known!

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +6 Проголосовать: не нравится

    Was this Fibonacci property shifting F(m+n) = f(m+1)f(n) + f(m)(f(n-1)) used in Div2 E along with segment tree in O(n logn * logn) I had kind of idea but failed to implement in time.

    • »
      »
      »
      10 лет назад, скрыть # ^ |
       
      Проголосовать: нравится 0 Проголосовать: не нравится

      Yep, exactly, consider the fibonacci matrix-vector multiplication:

      {sorry I don't know how to write in latex}

      ([[1,1],[1,0]]^n)*[F(m+1),F(m)]=[[F(n+1),F(n)],[F(n),F(n-1)]]*[F(m+1),F(m)]=[F(m+n+1),F(m+n)]

      since this operator is linear you can use it to update any segment range (I'll proof it later).

      By the way, the optimal complexity is O(n*log(n)), in each query you can just compute the matrix expo once, and use it to update segment tree.

    • »
      »
      »
      10 лет назад, скрыть # ^ |
       
      Проголосовать: нравится 0 Проголосовать: не нравится

      Yes. This was the property I was using. Successfully implemented it 7 minutes before the end. Idea was to store summation of F(ai) and summation of F(ai + 1) in segment tree.

      But Sublime didn't let me submit because it couldn't fucking detect

      +query(1,1,n,l,r);

      as a compilation error.

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    Where did you know about it?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

For B div1 problem, does O(nmlg) pass the pretests? is there any better solution?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

I feel like Div. 2 C had really weak pretests. I noticed my two submissions in queue were wrong before they even got judged and they were both pretests passed.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

After Doing 8 successful hacks

I realize Same mistake I did in my solution also...:)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

I couldn't lock my submission for more than 10 minutes in the beginning of the contest. How was I supposed to compete against those who could do it?

Russian screenshots
»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Is C a segment tree with matrices? Couldn't make it pass till the end... First, I copied my matrix structure from my library and it got MLE #10. Then replaced it with my previously written code with vectors — TLE #11. Then replaced the vectors with arrays and boom — some strange big values on the example test :D :D

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

What's the solution of B? nmlog doesn't seem to fit in this time limit.

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

What was Pretest 4 for Div2 C ?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +69 Проголосовать: не нравится

I am giving up my "blue" color as a present to BigBag. Happy Birthday :P

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

How to solve Div.2 D?

»
10 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится +11 Проголосовать: не нравится

For div2C check these cases for yourself:

4 1
9.45

4 2
9.45

5 1
1.055


Answers:
Case 1: 9.5
Case 2: 10
Case 3: 1.1

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

during the contest, there was a large queue and it cost 15 min delay in my solution's judgement and unfortunately it gave wrong answer so just a waste of time !Shouldn't this contest be unrated if many others faced the same problem ?

»
10 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится +1 Проголосовать: не нравится

Div1-C: When your solution get WA because you wrote (re*o.im+im*o.re) instead of (re*o.im+im*o.re)%MOD... I would have a sleepless night if that is the only mistake in my solution...

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Див2Б почему может валиться на 4 тесте? Взорвал себе мозг, но так и не смог понять что не так с моим решением.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +18 Проголосовать: не нравится

Problem E is so beautiful, kudos to author(s). Let me describe my idea, which should give TLE.

I think I have an O(n·d5) approach where d is the size of the alphabet. From each of n positions I run BFS and for each letter I store its type: 0 if none letter of this type was visited, 1 is some letter was visited, 2 if there was type 1 in the previous turn, and 3 if there was type 2 in the previous turn (thus, these letters affect other letters within distance up to 2). It's possible to maintain types. Moreover, each of n letters belongs to one of 85 groups, defined by letters within distance up to 2 (five letters and alphabet of size eight gives us 85). If I know types of letters, for each group I can say whether all its letters are visited or none are. Btw. this solution calculates the number of pairs for every distance, but likely (?) the intended solution also can do it.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +420 Проголосовать: не нравится

Can someone who solved B say answer to test:
4 1
2 3 3 3
6

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +24 Проголосовать: не нравится

Oh.. feels like the new trend on codeforces is tough Div2 D / Div1 B problems.. So much fun in the contest. Thank you BigBag for such great problems!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can you solve Div2 E/Div 1 C using Range trees?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +24 Проголосовать: не нравится

I think this contest is so great,the C problem in div1,give me great suprise!Though I don't know how to solve it......

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

Правда ли, что a * x + b * x = x * (a + b), где a, b, x — матрицы размера 2x2?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -17 Проголосовать: не нравится

What was pretest 1 for A/Div.2-C?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Problem C test 7 100 109.998

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +31 Проголосовать: не нравится

The moment when you submit your first solution at 90mins. Then during the long queuing process realize that the solution would give TLE and have no idea to optimize.

»
10 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится +3 Проголосовать: не нравится

this contest is making me a creative guy, not only the questions, but also about the new story that i should make to tell my teacher which I haven't wrote the homework spending my time for the contest :P

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

HAPPY BIRTHDAY! BigBag too

but I was hoping that this round will be easy :(

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +27 Проголосовать: не нравится

awkward moment when the rank 1 in div 2 solves 4 problems whereas the rank 2 solves 5 problems.

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +4 Проголосовать: не нравится

can 3 1 0.9 be a test for div1A?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

BigBag isn't your birthday done ?! we are waiting for editorial, please! (And also Happy Birthday :D )

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

what code

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

how to solve div2 B ? i can't figure out it for a long time

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

when can we start upsolving?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Div.2 contestants who solved problem A correctly could get a decent boost in rank after system testing :D

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I tried hacking with "2 1 .9" for Div2-C, it gave "Invalid Input" though.

Prob stmnt doesn't say anything about before the decimal.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Why it stays Pending system testing..

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

Please don't make it to be unrated for just Div2

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

this div2 round is "hack war" :D just 4 fun

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Is this testcase valid for Div 1 A?

1 1
9
»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится -124 Проголосовать: не нравится

I left a football match for this contest.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +30 Проголосовать: не нравится

"If we still manage to find the right solution and answers on pretests will be the same, the round may be rated."

and the answers should be the same for the hacks too, I think.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Forgot "If the answer is integer, do not print dot." in Div2.C until several minutes before the end of contest...

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

Думаю, решение как в Rubanenko есть правильным на див1 Б.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

System test began. Is the round unrated?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +27 Проголосовать: не нравится

I hope it doesn't become unrated it's my best performance an a round yet !

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Many many happy returns of the day BigBag. May a[i] > a[i-1] where 1<=i<=n, for all the N contests you take part this year :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -9 Проголосовать: не нравится

Предлагаю сделать нерейтинговым, потому что , есть люди которые потратили время на задачу, а потом ее тупо убирают. Это не правильно мне кажется.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -10 Проголосовать: не нравится

I hope the round becomes rated!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Please show us pretests so that someone can point out the mistake for those cases (if any).

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -6 Проголосовать: не нравится

pls, make it rated

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

there are very little people that solved D div2 so please don't make the round unrated

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +156 Проголосовать: не нравится

"is it rated?"

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Make it rated ... Very less people bothered about solving the d problem.. so it wont affect anyone in a bad manner...

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

pls, make it rated

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -15 Проголосовать: не нравится

People who asking for the round to be unrated are acting pathetic though. I saw the problem and generated several test cases and knew my solution would fail so i skipped it. It isn't our problem if you lack the skill to know whether your solution will fail or not.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +35 Проголосовать: не нравится

It is not about what people think about whether the round should be rated or unrated. Even if there is only one person that tried to solve the problem div2D/div1B and couldnt solve because of this then the round must be unrated because this is what should be done. Just because you were lucky and didnt even try to solve the problem cannot make the round rated. Please be rational

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +5 Проголосовать: не нравится

    Let say someone attempted D, if they didn't submit at least 1 submission-> failed, if they spend on it for too long, it doesn't make any difference from spending on any D for too long -> failed. If they don't read it, then it doesn't matter. Make it unrated for people submitted on D. and rated for everyone else!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Make DIV2 Rated please

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Round is shit. Unrated pls

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -6 Проголосовать: не нравится

Make DIV2 rated please

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

Only Regarding Div2 : I think it would be best to make it unrated for those who attempted Div2 D (if only they want). Making it unrated for more than 5000 participants just because of ~100 people is not a desirable thing in my opinion.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Please at least make div2 rated. I'm pretty sure whether author's solution for problem D is correct or not won't affect about 99% of the participants in div2.

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится -43 Проголосовать: не нравится

Anyway, Just make contest unrated please :)

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

salam

it is my best performance in the codeforces but if it is rated contest then it is oppression in the right.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

please make it rated atleast for DIV2 as 4th question hardly matters for most of the contestants.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

I doubt keeping div 2 as rated would affect too many people. More than 5000 submissions but very very few on D!

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    Not many div 2 contestant sovled D but may be many of 5000 contestant was spend many time to this (because problem A B is not hard and problem C make confused). So I think problem D affect the result

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +9 Проголосовать: не нравится

I dreamt of being purple from so long. When I did good, rounds were declared unrated twice. I am currently at 1878, and got a rank of 35. Then first surprise, my E got tle on 16. I almost broke. Then I found that my rank is still 145. I will get to become purple :D.
People doing CP seriously have great attachment with their rating. Before hosting the future rounds, it should be made sure that the round goes smooth.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -6 Проголосовать: не нравится

Make it rated, please.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +95 Проголосовать: не нравится

Where can we find problem B? If you publish it there will be more chance to be solved.

  • »
    »
    10 лет назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +19 Проголосовать: не нравится

    You have 1 <= n <= 200000 copy machines and 1 <= m <= 2000 queries. Each machine takes 1 <= t_i <= 1000 seconds to copy a paper. For each query 1 <= q_i <= 10^9, output the minimum required time to create q_i copies from one original paper. The copy can be made from the original or copy, either one.

    Input: n m t_1 t_2 ... t_n q_1 q_2 ... q_m

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I hate getting nothing after 3 hours of work. I would perfer "rated".

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +9 Проголосовать: не нравится

Please publish editorial for rest of the problems..

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +11 Проголосовать: не нравится

Где найти задачу Д? Её вообще убрали из контеста =/

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Contest should be unrated. There was a long queue.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +9 Проголосовать: не нравится

I really don't understand the people who can't solve A and B asking for unrated because of D....

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -6 Проголосовать: не нравится

rated please……

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -7 Проголосовать: не нравится

plzz make it rated at least for div2 considering the hardness of the problemset uptil c problem it wont be injustice to anyone!!!!!!!!!!!!

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится -14 Проголосовать: не нравится

please make it rated at least for div 2,since the number of people who solved D is very less,compared to the total number of participants.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -11 Проголосовать: не нравится

I believe keeping it rated is the way to go (for div 2 only)because only 13 people solved the question.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +17 Проголосовать: не нравится

Make DIV2 unrated please

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +15 Проголосовать: не нравится

Could anyone please prove the solution of D? It's obvious, that if oriented trees for some vertexes u and v are equal, then if we add new vertexes to both of them, then we get the same trees. I can't understand why it's enough to check. Why can't be there such a bijection, that added vertex will correspond to the old vertex of other tree?

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    So I will take one step back and ask — what is the solution to that problem you are talking about (I don't know any)?

    • »
      »
      »
      10 лет назад, скрыть # ^ |
       
      Проголосовать: нравится +6 Проголосовать: не нравится

      I'm surprised, you know so much random stuff I thought you were the walking encyclopedia of classical algorithms!

      For rooted tree isomorphism, represent each subtree with the same number of nodes by an unordered hash of its children (you can make it perfect hashing, but I just use some large numbers and hope nothing collides). Then the trees are the same if hashes of root subtrees are the same.

      I can't answer the original question because I didn't actually prove it (the same way no one actually proved B).

      • »
        »
        »
        »
        10 лет назад, скрыть # ^ |
         
        Проголосовать: нравится +42 Проголосовать: не нравится

        He is the walking encyclopedia of random stuff.

      • »
        »
        »
        »
        10 лет назад, скрыть # ^ |
        Rev. 2  
        Проголосовать: нравится +8 Проголосовать: не нравится

        Hm, I know how to check isomorphism of trees, I even came up with it on my own like 5 years ago (but beware not to use polynomial hashes >_>), but it seems that any slight modification of classical algorithm can be sufficient to make encylopedia dizzy :P. Or maybe that was 6AM that "helped me" here :D.

        So, how to use that to solve that problem? I thought about rooting it in centroid, but I didn't know how to update hashes and still there are some problems with it.

        EDIT: Ahh, thanks guys. That was kinda written in -XraY- post, but somehow I didn't get it, but now it is clear :).

        • »
          »
          »
          »
          »
          10 лет назад, скрыть # ^ |
           
          Проголосовать: нравится +10 Проголосовать: не нравится

          My guess is try every node to be the root, for each node v calculate the hash of the rooted tree which is rooted at v then store the hash in set, the answer is the number of distinct numbers in the set. of course don't consider vertices of degree 4, this is naively implemented in O(n^2) but I think it can be done in faster way

        • »
          »
          »
          »
          »
          10 лет назад, скрыть # ^ |
           
          Проголосовать: нравится +20 Проголосовать: не нравится

          Then you need to use fact -XraY- mentioned: trees with a leaf added to i and j are isomorphic iff the original tree rooted in i was isomorphic to the original tree rooted in j.

          I haven't proved this, but my intuition said that if you are changing exactly one subtree in both cases and ending up with the same thing, then the subtree you changed had to be the same (this wouldn't necessarily be true if you were adding 2 or more nodes).

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Are the system test cases for problem C Div2 strong?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +28 Проголосовать: не нравится

I think The question "Will be round either rated or not" is harder than Div.1 B

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -11 Проголосовать: не нравится

From quite a few times the rounds are being unrated .. for div2 the contest must be rated because the issue with the problem d wont affect the rating of anyone.. Many people didnt reach Problem D

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Just a very very few people can solve D, so it should be rated :((.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

I hope this will not be a rated round. :'(

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

is question D open question?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -7 Проголосовать: не нравится

i was working very hard this round , it seems to me really not fair to get nothing at all .

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

MAKE IT UNRATED PLS!!!

I spent less then 5 minutes on solving each of ABC and the whole contest I was thinking only about D! Really! It's unfair!!!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

unrated twice when i manage to become purple,sad

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +8 Проголосовать: не нравится

Whyyyyyyyyyyyyyyyyy! Pleaseeeeeeeeee!!!!!!!!!!!!!! I want this is contest rated. Maybe only div2

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

is there any way to check if my div1B had passed pretest or not?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +24 Проголосовать: не нравится

Make the round unrated.Once a question is wrong, it should not be rated. Even the queue was there. It would be unfair who tried D but couldn't get it.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

I think this is going to be a harsh comment but I really have to make this comment. I have posted asking for more contests in codeforces and so many people downvoted me and they said that it takes a lot of time preparing contest and testing it. Seriously if you guys have spent a lot of time on that, what kind of contest was this ? The test cases are seriously very bad. There is an incorrect solution and there was a queue or 20 minutes at some point. The questions were not unique. I seriously do not understand why some people say this round was so nice. I am not being disrespectful to the author but just because you did well on the contest dont say it was a nice round, justify your idea , dont just say it .

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +14 Проголосовать: не нравится

    The people saying "this round was nice" just performed good or got a +ve rating change . These might be the least interesting problems amongst recent rounds. A,B,C,E were totally implementation related no actual thinking required . And as usual your rank depended on "how fast can you implement or how accurately can you implement or just plain hacking" . People give contests because they like problem solving , the only problem that was difficult enough to "think" about was wrong . xD

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +28 Проголосовать: не нравится

    The testcases are bad? Why do you think so, have you got AC with wrong solution?
    The problems were good, I personally like div1A very much.
    What problem is not unqiue? div1C uses classical idea about matrices but I haven't seen this exact problem before. Nobody posted a link to a similar problem so even there exists one I don't think it is widely known.
    I have also read div2AB and found div2B very interesting.

    Yes, author's solution to div1B was wrong. Or maybe it has wrong legend. It happens. I think that other problems were good.

    • »
      »
      »
      10 лет назад, скрыть # ^ |
       
      Проголосовать: нравится +6 Проголосовать: не нравится

      I think he meant the pretest is too weak. There are many people getting >= +12 hacks in div 2, which kinda make it a hacking contest. In my Opinion, hacking is good, but however to hack a problem 18 times with the same test cases sounds a bit ridiculous. The contest itself become a matter of luck (whether there are other hacker in your room). I only got +2 in hacking div 2 C as there is another guy who just spend all his time hacking div 2 A instead of trying to solve other problems.

      Also, the problems is a matter of taste. I personally didn't like div1A as it is just messy coding and does not really helps in thinking. But overall, the problems are not bad.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I was accidentally printing '\0' without knowledge :( The submission details told me, but custom invocation didn't! Not trying to sound rude but I'm disappointed.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

Thank god!! It is rated party!!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -19 Проголосовать: не нравится

Can someone give me a convincing reason for making the round unrated? It's not that some people solved the problem and got WA because the author's solution was wrong. No one solved it!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

Maybe there are people who solved only Div1 B.

It's unfairly.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Thanks for making Div2 rated! :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -29 Проголосовать: не нравится

fuck you BIgBAG!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

"current incorrect version of problem E?" You mean E has problems too? o.O

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -37 Проголосовать: не нравится

FUUUUUUUCKKKKKKKKKK biGBAG

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

I think you can consider group ones who 'solved' Div1B together and the rest in another group and consider it as two CF round then rate both them only in their group.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -27 Проголосовать: не нравится

Yadag muu bandi we :) Bigbag gdg nuhur tursun udruuruu ingej hun amitnii durguig hurgeh hereg bdimuuu nofshhh we iim arcaagui temtseen zohiocod :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +17 Проголосовать: не нравится

If the round is rated for Division 2, I think the two people who solved problem D should be given credit for it. Part of coming up with a solution is knowing that the problem has a valid solution. Therefore, if there is only one solution you can possibly think of, it makes sense to code it up. They shouldn't be punished for the bad problem. Throwing out the problem is unfair to them.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can someone explain Div2. C? I got TLE on #25 :/ http://mirror.codeforces.com/contest/719/submission/20858479

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +35 Проголосовать: не нравится

It is totally unfair that contest be rated after a problem is deleted because I know people who spent most of the time of the contest in this problem.

You have to think about it again because this decision is unbelievable!

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +22 Проголосовать: не нравится

    I'm one of the people that spent most of the time for problem D (needed 1 minute to submit the the wrong-idea solution). But if you think a little, you would notice that there isn't a major reason for div-2 to be unrated. People who are badly affected are the two guys with AC on the pretests. But all other people (including me) who didn't submit (or failed at the pretests) just had the bad luck to spent their time on problem D, not on problem E. However this is no different than in regular codeforces round with equal points for the last two problems.

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +4 Проголосовать: не нравится

    You can spend the majority of time on D and still fail. It is very likely that for div2, less than 1% could get an accepted solution anyway. It's your fault to put all eggs into 1 basket in any contest

»
10 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится +18 Проголосовать: не нравится

This could not have been worse for me =[:

  1. I missed out the back==0 and back==15 cases in Div2A

  2. For some reason I thought the swap action can only be performed between neighbors in Div2B

  3. I spent the majority of the contest time trying to solve Div2D

  4. I messed up the string constructor in Div2C, I wrote string(char, quantity) instead of string(quantity, char).

I am thankful to remain blue after this contest...

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

I think the round should have been unrated. Not because I did poorly. Codeforces is so popular now. Everyone participates in contests here regularly. I know that the authors did some unintentional mistake maybe. But there are people who tried Div2 D and thus wasted time. Also for some time (nearly 20 minutes) the server was down or super slow. In Codeforces rounds, every second counts. Everyone knows that mistakes like this take a huge toll on the participants. And also, however fair the judgement maybe, it will still be unfair to many contestants who lost points because of this mistake. I believe it wouldn't hurt to make the round unrated. Still, whatever they decide :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Все в равных условиях, если для див2 рейтинговый, то и для див1 тоже должен быть. К примеру, допустим, я начал решать Д див2 сначала раунда, сдал, а потом говорят, что мол, ее полностью убирают... Либо у всех рейтинговый либо у никого!

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I had submitted a hack for div2 C, and it was in the queue till the end of the contest. Now I see that it was never evaluated. :/

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +12 Проголосовать: не нравится

Am I the only one who feel weird for a round to be rated on only for one division?

Won't it cause rating inflation? Since Div 2 is rated (and assume Div 1 is not rated), there will be people upgrading to Div 1, but nobody downgrades to Div 2. Therefore, we will have more Div 1 people at the end of the day.

I was born in TopCoder (meaning that I started TopCoder first before joining Codeforces), and I remember there were several occasions in SRMs where the problem only affected one of the division, but the round were not rated for both because of this issue.

Well, the rating calculation is different between the CF and TC, so the problem in TC probably will not happen here. I don't know though.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Happy Birthday

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

It is quite sad when a solution for Div1C gets TLE because of missing inlines :/ (Well, even with inlines it got 4898ms, so perhaps I should have made it O(n log n) instead of O(n log^2 n))

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +26 Проголосовать: не нравится

"Because in Division 2 only two people managed to pass the system testing for the current incorrect version of problem D, jury decided that the round should be rated for Division 2."

What about the contestants who spent most of their valuable time to solve D? Wouldn't it be unfair to them? As problem D is supposed not to exist there from the beginning of contest, then there must not be any time lost because of that "problem", must it?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Please post the editorials..

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

When will be editoral?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can somebody explain how is the the answer for the following test case 2 for the following test case. 5 10 1.555

»
10 лет назад, скрыть # |
 
Проголосовать: нравится -10 Проголосовать: не нравится

Couldn't the Div2 D , the problem that was removed be solved using parallel binary search ? My implementation — http://ideone.com/dXcbpq

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится -57 Проголосовать: не нравится

Its realy sad to be rated

  1. Incorrect questions

  2. The contest wasn't estimate the real problim solving skills for participate since of very weak pretests , so the first one who lock his solution he will hacks all the wrong submissions in his room .

CF is going to its end :(

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +220 Проголосовать: не нравится

A, C, B сидели на трубе, A упала, B пропала, кто остался на трубе?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +18 Проголосовать: не нравится

After 5 hours of waiting, the regular "is it rated" question makes sense :P When can we expect editorial? With problem B(1) or without

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +5 Проголосовать: не нравится

    I think the editorial isn't done because the problemsetter needs to deal with div1b/div2d first, it has higher priority than editorial and also he can't write editorial and fix tests/fix his solution/rejudge at the same time, so patience you must have, young codeforcer

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +61 Проголосовать: не нравится

Maybe the author will come up with a solution for problem B on his next birthday and declare this round as rated.

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +5 Проголосовать: не нравится

Can someone post this div2D/div1B problem statement please? I couldn't participate and now this problem does not appear when you enter contest from the past contests list.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

very very Happy birthday BigBag :)

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

So will div 1 be rated now? I suggest that if someone can get rating rising,than he can be rated,ohterwise not.

»
10 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +13 Проголосовать: не нравится

This case reminds me round 330 which was also unrated because a wrong greedy model solution. So the moral is that authors have to be very careful when setting greedy problems.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Well, I think Div2 D (Div1 B) is a good (and the method to solve it is useful in ICPC or OI or some other algorithm contests) problem if we can change its description to make the greedy algorithm correct. Could you update the task and make the new problem public? Thanks.

  • »
    »
    10 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +10 Проголосовать: не нравится

    It seems to me that to make the greedy algorithm correct, one must add an additional constraint on t_i. If they are all powers of two, then I fail to find such counter examples.

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

I love you guys(ง •̀_•́)ง

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

Thanks for a really awesome problem set. Really enjoyed the contest. Did learn some trick ,such 1C

»
10 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

will there be an editorial?

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +12 Проголосовать: не нравится

Why not change the problem statement of B a little bit(not allow the situation [user:Um_nic] mentioned) and put it back into the problemset. It seems like a nice problem. Because of the limited time, I didn't pass the pretest during the contest, and have finished it now. I wanna know whether my program is correct or not, but have nowhere to test.:D