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

Автор ipaljak, история, 7 лет назад, По-английски

Hi all,

join us on the fourth round which will be held on Saturday, January 18th at 14:00 UTC.

If you are not familiar with the COCI contest format, we encourage you to read the announcement for the new season. You can also find the problems from the previous rounds here.

Feel free to discuss the problems in the comment section after the contest ends.

See you on Saturday!

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

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

Auto comment: topic has been updated by ipaljak (previous revision, new revision, compare).

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

A friendly reminder: the round starts in about 3.5 hours

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

How to solve C?

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

    I am not entirely sure my solution is correct. (Edit: It's correct)

    I split the array in 2 sets, the one in the range [l, r] and what is left. In this sets we have the numbers sorted by indices in the initial array. We see that we only make swaps between numbers in different sets.

    I did dp[i][j][cost] = the biggest amount of debt you can save if you make swaps till the ith from the first set and jth from the second set and spend cost kunas.

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

When will the results be published?

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

Does top down 2500*n^2 DP pass on Holding or it TLEs? 2e7 in 2s is kinda tight.

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

I spent 1:30 on solving D for + instead of xor, oh

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

How to solve D?

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

Tasks, full test data, and solutions (with editorials) are available here.

We hope you had a good time :)

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

When I can submit again ? It say "You're not allowed to submit at this time."

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

Are the testcases in Holding weak. My slow solution passes all the subtasks. https://pastebin.com/hGzYAsXm

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

Will the COCI tasks from this season be added on oj.uz?

ojuz