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

Автор Gol_D, 4 года назад, перевод, По-русски

Привет! В 25.11.2021 17:35 (Московское время) начнётся Codeforces Round 756 (Div. 3) — очередной Codeforces раунд для третьего дивизиона. В этом раунде будет 7-8 задач, которые подобраны по сложности так, чтобы составить интересное соревнование для участников с рейтингами до 1600. Однако все желающие, чей рейтинг 1600 и выше могут зарегистрироваться на раунд вне конкурса.

Раунд пройдет по правилам образовательных раундов. Таким образом, во время раунда задачи будут тестироваться на предварительных тестах, а после раунда будет 12-ти часовая фаза открытых взломов. Мы постарались сделать приличные тесты — так же как и вы, мы будем расстроены, если у многих будут падать решения после окончания контеста.

Вам будет предложено 7-8 задач и 2 часа 15 минут на их решение.

Штраф за неверную попытку в этом раунде (и последующих Div. 3 раундах) будет равняться 10 минутам.

Напоминаем, что в таблицу официальных результатов попадут только достоверные участники третьего дивизиона. Как написано по ссылке — это вынужденная мера для борьбы с неспортивным поведением. Для квалификации в качестве достоверного участника третьего дивизиона надо:

  • принять участие не менее чем в пяти рейтинговых раундах (и решить в каждом из них хотя бы одну задачу),
  • не иметь в рейтинге точку 1900 или выше.

Независимо от того являетесь вы достоверными участниками третьего дивизиона или нет, если ваш рейтинг менее 1600, то раунд для вас будет рейтинговым.

Спасибо MikeMirzayanov за платформы, помощь с идеями для задач и координацией нашей работы. Задачи были придуманы и написаны командой Университета ИТМО: MikeMirzayanov, MisterGu, myav, Vladosiya, Aris, ibraevdmitriy и мной Gol_D.

Также большое спасибо God_Of_Code, oversolver, FlakeLCR, Igorjan94, Jester, KHiMAeRA, KerakTelor, Loolo, MatheusMonteiro, Resende, teraqqq, dedlocc, doreshnikov, kbats183, kocko, vsinitsynav и pashka за тестирование раунда и весьма полезные замечания.

Всем удачи!

UPD: Разбор вышел!

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

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

I really want the round to go well. I have gathered a team of ITMO students so that they can quickly prepare such rounds. For example, for this round we had to get together twice for several hours: to approve a set of problems, and I also showed and told all the details of preparation. The guys put in a lot of effort. Thanks to them!

I am sometimes asked why the circle of Div3 contributors is so narrow. The fact is, for such rounds we do not have coordinators: the skills of preparing problems are very important. You need to take into account a large number of little things and accustom yourself to be careful when preparing them. The easiest way for me to do this is with a permanent team. I supervise the preparation several times, the writers themselves encounter difficulties and as a result, they already know how and what to do. In such easy problems, quality and uniformity of preparation are more important. Then you can count on a regular schedule of such rounds.

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

Just one contest in the weekend tbh :/

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

Can't wait to participate! This is the first contest that I'll be able to participate in since these are usually at 9:30 AM for me. Good luck everyone.

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

As we all know, div3 is more difficult than div2

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

I love div 3 very very very much♥♥

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

Hope everyone will have good contest.

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

Good luck to everyone!

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

Hope I will get +100 in this contest.

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

thaks for this great contest!!

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

problem F should be before D, maybe even C

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

Problem D and E It's all about trees. I don't have any ideas ,It's sad

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

    You could actually do D without trees too! For ex., I created a map m1 with the keys as vertices and the values as their parents. I then created another map m2 with the given permutation, with the keys as the vertices given in the permutation and the values as the summation of edge weights going from the root to that vertex, started from 0, and incremented the value by 1 for each subsequent vertex. I then just used m2[i] — m2[m1[i]] to get the weight of the edge connecting the ith vertex to its parent, m1[i]. If this was negative at any point, I returned -1, otherwise I printed out these weights. My only peeve with the contest was the placing of D, I feel that F should've come before it as it was easier.

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

Nice problemset. Although, not a good idea to put 3 Tree problems in a Div3 imo. Also, can we solve E2 without binary lifting?

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

    I solved E2 using a modification from my E1 solution, which used 2 BFS. The first BFS would find the minimum distance of each node from one of Vlad's friends and store the value in an array. The second BFS would be from room 1. This BFS finds a room with only one corridor. For every node that the BFS visits, it checks whether there is vlad's friend that could arrive at the node faster than vlad. If vlad's friend can't get to the node quicker than vlad, then continue the BFS, else stop the BFS (this is the E1 solution).

    For the E2 solution, modify the final BFS. If there is an instance where there is a node where the BFS stops (vlad's friend can get there quicker than vlad), then we can observe that one of vlad's friends has to stop him, so we can observe that one of vlad's friends has to stop him at that node. So, add 1 to the result (the minimum amount of friends required to stop vlad) by 1 (you can also use the answer to the first problem to check whether it is impossible to stop vlad).

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

      But how does this find the min number of friends? I mean, it is not so difficult to find which friends can stop vlad at any given vertex. But still how can we know what is the minimum set of friends covering all leafs?

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

        Since this is a BFS, the BFS will stop at the closest node to node 1 where his friend can stop him. Since this is a tree, stopping at a smaller distance to the root will minimize the different nodes where vlad's friends need to stop him at.

        Through this observation, we can try to find the closest node to the room. We can find this using the aforementioned BFS from the root.

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

        Exactly same with my solution. you don't need to return which friend should stay, just the number.

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

    I did E1, E2 with Euler tour.it was the first that come to my mind. I can explain that solution if someone is interested in it.

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

      Could you explain it, please?

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

        E1:lets do an Euler tour and some structure for asking minimum in the segment. Let's do a dfs. if we will reach leaf(and it's not bad) then we will print YES otherwise NO. if we are currently at some node v and it's bad then we don't go deeper. How to check if the node vis bad or not? let's look at the depth of vertex v, it's equal to the length of the path from the root to v. then we are interested in the shortest path to all of his friends that are in the subtree of v.We can find that by asking for a minimum depth in our structure. However, there can be some vertex that is higher than v and has a shorter path than any friend from subtree of v. However, it's turn out that if we have such vertex then we will never go to v. E2 it's really easy to modify E1.just when we are at bad vertex do ans++. That's all. Have you understood it? I can also tell u about an Euler tour if u don't know what is it.

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

During this round i realised that cp is not for me ;)

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

Really enjoyed problem D, I like problems of this kind. thanks

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

    can you explain your approach to problem D as I'm very confused as to how to set the distance of the edges...!

    [UPD: Solved} the biggest hint for me was to use the permutation p itself. And No dfs is not required as you can just iterate through the permutation and assign the weights in increasing order and check while assigning if the sum of weights from parent to that node(say total_weight of that node) is equal to the total_weight of the previous element. if equal then just assign the weight accordingly for the condition given in the question to be true.

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

Can anyone tell me why my Solution of D is getting WA 1 ?? My Solution for D

Thank you for the help !

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

I think that the authors of this contest need to be reminded that this is a Div 3 round, not a Div 2 round. Div 3 should be ideal for beginners/newbies, this round certainly wasn't.

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

For C, I just simulated the described process on the reverse of the input array and printed that as the answer. Can someone explain why this works?

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

Is this on the right track for G? If so any hints for what I'm missing?

  • Split points into two grids by parity, i.e, (i + j) % 2 and solve them independently.

  • Now in each grid, depending on the row and parity we can either go down / left or down / right (some of these moves may be invalid at the boundary col).

  • While there are candies remaining in the grid, in each pass our priority is to remove points from the left most columns possible.

  • So, we take the first remaining candy for each non-empty row and sort them by column.

  • Now we process these values in sorted order and try to see can we insert them into the current path, if so we do.

  • Checking if they can be inserted can be checked in O(log n) time by storing a set of {row, col} of the points we have taken, binary searching for the points in the currently taken path before and after the insert point (if they exist) and check if this newly added point is reachable from them.

  • Reachability can be calculated in O(1) time by calculating the max columns left / right we can move in this row range (number of rows / 2 + 0 / 1 depending on starting row parity).

This passes samples but gets WA2 so I suspect I'm still missing something.

Submission in case that helps — 136926073

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

C is trash.

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

The difference between the difficulty level of C and D made it another speedforces round

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

Enjoyed! I dunno if it was just this contest, but every problem kept me on my toes.

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

My statue on problem A and B today :

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

E2 approach?

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

    I solved E2 using a modification from my E1 solution, which used 2 BFS. The first BFS would find the minimum distance of each node from one of Vlad's friends and store the value in an array. The second BFS would be from room 1. This BFS finds a room with only one corridor. For every node that the BFS visits, it checks whether there is vlad's friend that could arrive at the node faster than vlad. If vlad's friend can't get to the node quicker than vlad, then continue the BFS, else stop the BFS (this is the E1 solution).

    For the E2 solution, modify the final BFS. If there is an instance where there is a node where the BFS stops (vlad's friend can get there quicker than vlad), then we can observe that one of vlad's friends has to stop him, so we can observe that one of vlad's friends has to stop him at that node. So, add 1 to the result (the minimum amount of friends required to stop vlad) by 1 (you can also use the answer to the first problem to check whether it is impossible to stop vlad).

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

    for each node, keep track of the minimum distance among all friends in the current subtree to reach this node in minFriendDist[node].

    then do DFS from the root. as soon as distFromRoot >= minFriendDist[node], increment ans by 1 and return (stop exploring)

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

    Lets make some observations:

    1. Clearly if a friend exists at some node $$$x$$$, any leaf in the subtree of $$$x$$$ is unreachable.

    2. If there exists no friend in the subtree of $$$x$$$, if Ivan can reach $$$x$$$ without getting caught, he has effectively escaped.

    3. Ivan always moves down the tree and so the time he takes to reach a node is its depth in the tree.

    4. His friends always stay in place or move up the tree to intercept him (if he's below them he has escaped from them).

    So with these, we just need to check for each node $$$x$$$, can some friend in the subtree of $$$x$$$ reach $$$x$$$ before Ivan can. If so he can protect this subtree alone and the answer for this subtree is $$$1$$$. Otherwise the subtrees of each of the children of $$$x$$$ with need to be protected separately and the answer is the sum of the answers for the child nodes.

    To check if any friend can protect this node $$$x$$$ we just need to store the closest friend in the subtree and check if it is at most the depth of the node.

    Code — 136900309

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

      Do you know how to solve E2, if the given graph was not a tree (i.e., it is allowed to contain cycles)?

      I thought of this because for my solution of E1 proof of correctness, most of the time you can just view the graph as a graph, so when trying to solve E2, I didn't think hard enough about using the tree property.

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

Noooo. I was 10 seconds away from submitting F :(:(:(

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

I think the risk/reward of all-problems-same-score rounds is taking a turn for the worse...

Today's B was 1538G - Gift Set in a past life... at least I'm consistent in my failure :P

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

Cool problems! Excited to see more contests from these new writers!

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

Enjoyed very much, Every Problem from B was a challenge in itself. Perfect Div.3 Round. Really loved C and D.

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

How do we do E1?

My approach was to 1. make a tree with 'par' and 'lev' vectors to store the immediate parent of each vertex and the level it is in — 1 is root note/vertex. 2. now, for each of the leaf nodes, calc their distance from the root node 1 (D), and from each node that friends are on (d1, d2, ... dk — for k friends). 3. if D < d1, d2, d3 ... dk — then I should be able to reach a leaf node from node 1 before a friend can intercept me. 4. to calculate d1, d2, ... dk, I tried to use LCA But i kept getting a TLE? Is this the right idea/algo to use?

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

i want you to hack my b and c as i dont feel confident enough that they are correct.thanks

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

How to do F without using segment trees?

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

not a good idea to put 3 problems on tree for a div3! also problems are not sorted by difficulty ,, why is that ?

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

approach to solve D? I was able to solve E1 but got stuck on D.

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

    Observe that the edges must be sorted so that we can build the tree starting at root, then add each vertex by add a child to some vertex in the tree.

    Because else there will be a parent with bigger weight than a child, what is not possible.

    So just add each vertex to the tree, and give the edge some weight so that the weight of the vertex is max so far.

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

    I didn't pay attention to it until the last 5 minutes, so I coudln't solve it.

    But this is what I thought: the permutation has to start with the root or it is impossible. That is because dist(root, root) = 0, so, when sorting, it will always come out first.

    Second, for a given vertex v, it has to appear in the permutation in the same order as the simple path from root to v, otherwise it is impossible. Why? since we are adding edge weights, an ancestor will have less edge weight than it, so, when the permutation is sorted, the ancestor must appear first.

    If both these conditions are true, then it is sort of easy to assign weights.

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

I solve F using binary search without calculate the exactly time complexity. Can anyone hack me or tell me the exactly worst time complexity? :) (here is my submission 136915199 )

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

Was the criteria to put D after C just "D is tree related, C is array"? D is much easier than C in my opinion.

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

This was a nice div 3 contest. Loved it.

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

Thanks for this round. My best ranking ever...

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

Hello, It's my first time participating. I'm Korean and I use a translator to write it down. I have a question. My code number B (wrong answer on test 2) : https://mirror.codeforces.com/contest/1611/submission/136932156 I don't understand. testcase 33 29 -> 14? Isn't this answer 15? 2 programmers, 2 mathematicians, 14 teams. 3 programmers, 1 mathematician, 1 team. The remaining number is programmer 2, mathematician 0. Total team 15...?

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

how problem's difficulties get determined? because even though problem B was way harder than C , difficulty of B is 800 and C is 1000. I mean the difficulties should be based on how hard the idea of the problem is. (it's just my opinion problem B may has been easier for you than problem C :") . but generally problem's difficulties doesn't make scene T_T )

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

E1 was almost similar to cses problemset graph problem : Monsters. https://cses.fi/problemset/task/1194

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

If the CF predictor is right then this was my last Rated Div 3 ;)

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

Problem C have ruined my contest ! :(

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

Problem E2 (using python): I get runtime error on testcase with n=20000 k=10000 136941508 Anyone has any idea what the problem might be ?

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

Here are the video Solutions to problem A-F in case you are interested.

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

camy solution can anyone tell me why this solution doesn't work?

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

can anyone explain how to solve problem D?

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

    I thought of an ad-hoc solution. Try to find a solution such that the first element on the permutation has dist 0 from the root, the second dist 1 from the root, the third dist 2, and so on.

    Giving an example (same from the problem text)

    5 3 1 3 3 1 3 1 2 5 4

    You want the dist array to be [ 0, 1, 2, 3, 4 ] so dist(root, 3) = 0, dist(root, 1) == 1, dist(root, 2) == 2, dist(root, 5) == 3, dist(root, 4) == 4.

    So, you have to notice one thing: it's impossible to have a node a such that dist(root, a) <= dist(root, father_of_a) since all the edges must have positive value. You need to check this before by seeing if the position of 'a' in the permutation is before the position of 'father_of_a' in the permutation, but there's also another way of doing it that I'm going to talk about below.

    So now you know that dist(root, a) > dist(root, father_of_a)

    This way you can build a constructive algorithm to find an answer

    for the root, you know that dist(root, root) == 0 for the other nodes: dist(root, a) = w(edge from father_of_a to a) + dist(root, father_of_a) so w(edge from father_of_a to a) = dist(root, a) — dist(root, father_of_a)

    Since you know the values for the distances (following that method in the beginning), you now know how to calculate w.

    This value must be positive, since dist(root, a) > dist(root, father_of_a). If at some point you have a negative value, that's also an indication that finding an answer is impossible.

    My solution, for reference: https://mirror.codeforces.com/contest/1611/submission/136944858

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

I know this will be pretty controversial, and though it is uncommon to say things like this about R1000 problems, but C was quite an interesting problem. It had probably been a very long time since I found a sub-1500 problem with an observation that can qualify as an "aha" moment, and this definitely meet the criteria. I guess I just want to say kudos to the problemsetters for coming up with such a nice easy problem.

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

https://mirror.codeforces.com/contest/1611/submission/136953503

I'm TLE(12). Can someone help me see how to optimize it?

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

A good round!

All of the problems are good,but I think I may see the F somewhere else.

(And the difficulty gap between E1 and E2 may be too low.)

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

Hello MikeMirzayanov,

Some contestant hacked problem A . But inside hacked solution code I found out that they intentionally kept a test case written inside the solution so that the solution can be hacked. It seems unethical.

These are the solution https://mirror.codeforces.com/contest/1611/submission/136954440 https://mirror.codeforces.com/contest/1611/submission/136948337 https://mirror.codeforces.com/contest/1611/submission/136939066

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

It was one of the best divs 3!

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

in problem E1 I used the following approach

1.Apply BFS from node 1 and calculate distance of each leaf node form node 1.

2.Apply multisource BFS from all the friend nodes, and calculate distance of leaf nodes

  1. find a leaf node(other than 1) whose distance from node 1 is smaller than its distance from friend node

Please tell if there is anything wrong with the above approach.

Thanks in advance ^-^

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

Can someone tell me what on earth was these hacks???

Hack #772495

Hack #772489

Hack #772484

Hack #772482

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

Can someone talk about how to solve F using binary search on Segment Trees? It'll be a big help thank you!

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

Why the ratings have not been updated yet?

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

Problemset was great. But I did feel that there were harder concepts (not problems) for a div.3 round.

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

I tried a DP implementation for Problem F which passed the first pretest, but gave WA verdict on the subsequent ones. Can anyone please help me out in finding what is wrong in the logic?

My submission: 136929173

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

у меня рейтинг 876, почему этот контест не рейтинговый у меня ? У меня всё ещё не вышел рейтинг

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

Where are the ratings?

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

Help! why am getting WA for D. https://mirror.codeforces.com/contest/1611/submission/136977033 saying that expected d[p[i]] < d[p[i+1]] when i output d[p[i]] for all i it is sorted means condition is fullfilled!

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

Ratings must have been updated till now

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

А почему раунд отображается как нерейтинговый в профиле? Стоит всё же ждать рейтинг или что-то пошло не по плану?

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

Tired of waiting for the rating...

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

Hey!

When we will get Editorials?

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

Can anyone help me? I actually submitted my code twice from two accounts which has led to a violation of rules.Can someone tell me what proof can I give for that and where?

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

finally I got expert for the first time!

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

Hello All! For a few hours, the rating got updated but now it vanished. Is it happening the same with others as well?

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

Editorial ?? :)