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

Автор pashka, история, 2 года назад, перевод, По-русски

Привет! В 18.02.2024 15:05 (Московское время) начнётся Codeforces Round 927 (Div. 3) — очередной Codeforces раунд для третьего дивизиона.

В раунде используются задачи JetBrains Academy Youth Challenge. Если вы участвовали в нем, не участвуйте в этом раунде.

Задачи подготовлены denk, step_by_step, goncharovmike, ikrpprppp, pashka, Vladosiya и MikeMirzayanov.

Большое спасибо awoo, BledDest, buyolitsez, EgorUlin, Gojova, GrandFruit, Hello_zoka, petyb, scanhex, ibraevdmitriy, shnirelman, SomethingNew, Toy_mouse, Zandler за тестирование раунда.

Как обычно для раундов третьего дивизиона:

  • в раунде будет 6-8 задач
  • длительность раунда 2 часа 15 минут
  • раунд проходит по правилам ICPC, штраф за неверную попытку 10 минут
  • раунд рейтинговый для участников с рейтингами до 1600
  • после раунда будет 12-часовая фаза открытых взломов

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

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

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

Всем удачи!

UPD: Разбор

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

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

All The Best (Zoom out if not visible)

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

"The round is based on problems from JetBrains Academy Youth Challenge. If you participated in it, please don't participate in this round." Does this mean if someone participated in that one ,they would have some advantage in this round?(wanted to clarify it)

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

What is the score distribution?

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

Can the timing be changed? It clashes with ARC. Moreover, this time is quite awkward for me, as I have an important appointment at that time.

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

Hey boy, are you a semicolon? Because my program is missing you ;)

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

as not a tester i would like to solve this round

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

Finally after a tedious global round which took away my *1800 it's time to relax. Hope to solve A-F

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

This comment has been deleted.

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

Good start time for Chinese.

But I must finish my winter vacation homework!!!F**k

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

I have a feeling this round will be amazing.

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

If problems are already based on jetbrains youth academic challenge, then it means people already know the problems. Not just that, we can find them from internet also.

Therefore, let's not participate in this round.

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


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

problems of this contest are prepared "step_by_step"

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

My 1st unrated Div 3 !(;

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

I would target solving >75% problems.

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

Good start time!

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

Yesterday i became specialist so i hope to reach expert again.

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

Please note the unusual start time: 18:05 UTC+6

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

The timing is great, but it overlaps with ARC's timing.

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

Good lucks for everyone!

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

Good luck to all of my grey friends :D

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

Redemption time

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

extra registration ??

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

.

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

c Problem is very tough :(

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

tourist speedrun the division 3 in 28 minutes to clinch first position,then started Atcoder regular contest 45 minutes late and still came 3rd(Standings ). GOAT stuff.

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

I got PTSD because of Problem C

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

Ugh, I feel so dumb for not being able to figure out C

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

Silent moment for ones who tried so hard for bigint in E

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

Was F dp + segment trees?

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

when will i can see the editorial ??

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

how to solve the E?

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

E and D are just implementation didn't like them that much.

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

went good for a first div3 unrated contest

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

How this code not able to pass C ? link anyway i solve it using Segment Tree link

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

I can't figure out why this code fails for C: 247057083

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

Nowadays Div 3 is harder than Div 2. I don't know if it is only for me or if other users also feel it. BTW happy coding...........

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

E got TLE with python but in c++ with making bignum get AC.

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

Problem F was really nice. Thanks authors. :blobheart:

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

problem C was quite pleasure to solve

I felt like being Elegia

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

How to solve C?

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

Am I the only one who is able to solve C but could not solve any other problem.

what is wrong with me... :(

could anyone tell what is wrong in :

Problem B submission

Problem A submission

EDIT: I found the small bugs in my code both above submissions are incorrect

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

Is G just Dijkstra's but edge weights are computed using some x such that a + bx = c + dx, if the two sides of the equation are 2 different platforms?

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

Is there a more effective way to do D other than making an if-else chain?

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

    backtracking

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

    I imagine you could create a custom comparator and then sort, correct me if I am wrong.

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

      I did the following. I keep the sorted values of the cards for each suit. For the non-winning suits, I can just have the cards beat each other in sorted order, taking 2 at a time until I have 0 or 1 left. If I have 1 left, I'll save it for later. Then afterwards I can just take the winning suit, eliminate all of the remaining ones from other suits, and eliminate the rest in the winning suit the same way as before.

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

    Store in map

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

    Sort card for each suit and greedily remove 2 cards at a time, if there is one card left, u need to match it with any trump. At last u do the same thing for the rest of the trump cards.

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

    Group each card by suits. Then sort by rank for each suits

    Now for each suit other than the trump, take two adjacent card rank. If there are some excesses, keep it and use the trump to beat them

    Now use the remaining trump suit to battle each other

    The impossible case is only when the excesses are greater than the trump suit

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

    I used this comparator function to sort all the cards

    bool comp(string a, string b) {
        // Both are trump
        if (a[1] == trump && b[1] == trump) {
            return a[0] < b[0];
        }
    
        // One is trump
        if (a[1] == trump) {
            return false;
        }
        if (b[1] == trump) {
            return true;
        }
    
        // Both are normal, same suit
        if (a[1] == b[1]) {
            return a[0] < b[0];
        }
    
        // Both are normal, different suit
        return a[1] < b[1];
    }
    

    Then my logic for the ans is just go from left to right

    • If there are still 2 cards of the same suit -> Choose them
    • If there is only 1 card left of that suit then get a trump card from the back (If I still has trump cards)
    • Otherwise, I can't beat the current card -> This game is impossible
        vector<pair<string, string>> ans;
        int rightIdx = 2 * n - 1;
        bool ok = true;
        for (int i = 0; i + 1 <= rightIdx; i++) {
            if (a[i + 1][1] == a[i][1]) {
                ans.push_back({a[i], a[i + 1]});
                i++;
            }
            else if (a[rightIdx][1] == trump) {
                ans.push_back({a[i], a[rightIdx]});
                rightIdx--;
            }
            else {
                ok = false;
                break;
            }
        }
    
»
2 года назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

Spent a long time to understand what problem B wants

You too?

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

Ac F at 2:14 i can't believe myself

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

If you need video explanations of C, D, E and F, you can check my video editorials here

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

Why long long doesn't work for problem C. Calculating the product in long long then dividing the product by left or right whatever element is deleted?

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

BE CAREFUL OF CARD SIMULATIONS 23min D, 7min E

I did F with linear DP, first finding out bar[x] = which spot is the leftmost viable spot on x's right if x is chosen.

Could someone explain how G works?

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

Can somebody tell me why deque can't solve problem c??? I can't pass test 3.

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

Whats wrong with the naive implementation of problem C?

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

D can be solved by using Blossom algorithm, even though it is just an overkill of the problem

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

why greedy does not work for F? :(

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

C problem is really hard for Div3 XD.

p.s Who solved this problem without trees? :)

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

    I'm curious about the segment tree solution, can you explain a little bit?

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

      Very simple problem if you think using segment tree.find my solution here..

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

    It’s pretty simple just compute if offline in reverse order. Start from index after n-1 operations. This index is both l and r. in reverse order, if operation is R, append the righter value and increment.

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

    I solved it with sqrt decomposition

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

    Start from reverse. Start from one element that is going to be remaining at last, after removing every other. Then keep multiplying second last, third last… while taking modulo. And then print array of answers in reverse

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

I loved Problem E,Great contest

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

very good D and E problem,makes my rating down down down.

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

Nice contest! Anyway here is my solution for problem F :
Let call cover[i] means the number of segment that cover point i. We can find this by using a multiset.

Iterate from 1 to n. Let's call dp[i] : Consider to position i, what is the maximum answer can we make

  • If we did not choose a point on i : dp[i] = dp[i-1]
  • If we did choose a point on i : dp[i] = dp[j] + cover[i] with condition : i and j does not lied in any same segments.
  • Here's how to find j. For all segments that contain point i, let's call L is the minimum left border of all segments. It's obvious that j = L — 1.

Hope it make sense!

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

Слабые тесты фуу

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

Problems E & F were great! Nice contest! I enjoyed it!

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

Why is this impossible in problem D ?

1
S
7S 3S

Since both belong to trump suit, and 7S has a higher rank, it can beat 3S. ??

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

Did anyone use DP to solve E? I usually don't use Python and thus had TLE at case 6. Submission

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

How to solve Problem G?

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

    Here is my solution:

    For each passages, find the times in which the levels of the connected platforms are the same. To do so, you need to solve the equation:

    $$$\begin{alignat*}{2} && l_u + t \cdot s_u &\equiv l_v + t \cdot s_v \quad&(\text{mod } H)\\ &\implies& t \cdot(s_u - s_v) &\equiv l_v - l_u &(\text{mod } H)\\ &\implies& t \cdot(s_u - s_v) + k \cdot H &\equiv l_v - l_u &\text{for some } k \in \mathbb{Z} \end{alignat*}$$$

    You can solve this equation using the extended Euclidean algorithm. Define $$$C = \frac{l_v - l_u}{\gcd(s_u - s_v, H)}$$$. Note that if $$$t_0$$$ is one solution, then $$$t_0 \pm C$$$ is also a solution.

    So, for each passage, you know you can cross it if and only if $$$t \equiv t_0 \left(\text{mod } C\right)$$$.

    Then, you can solve the rest of the problem using a simple modified Dijkstra algorithm, where when crossing a passage you update the new distance as $$$t_0 + C \cdot max\left(0, \left\lceil\frac{t_0 - curdist}{C}\right\rceil\right) + 1$$$.

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

      Can you please explain this, we can find t using the extended euclidean algorithm but how will we get the smallest t ?

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

        If $$$d = gcd(a, b)$$$ and $$$(x_0, y_0)$$$ is a solution to $$$ax + by = d$$$, then the general solution to $$$ax + by = dj$$$ is:

        $$$\left\{\left(x_0j + \frac{b}{d}k, \, y_0j - \frac{a}{d}k\right)\mid k \in \mathbb{Z}\right\}$$$

        Thus, the solution with the smallest value of $$$x$$$ would be $$$\left(x_0j \text{ mod } \frac{b}{d}\right)$$$.

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

          why is it x0j + (b/d)k and not x0j + bk, this will also keep the equation balanced, x0j + bk and y0j — ak

          I am sorry I looked at many resources but no one explains this if you could please explain it

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

            Honestly, I just memorized that as a fact without giving it much thought. However, if I have to try to justify it, it would go like this:

            If we substitute $$$\left(x_0j + \frac{b}{d}k, \, y_0j - \frac{a}{d}k\right)$$$ in the the equation $$$ax + by = dj$$$, we have:

            $$$ \begin{alignat*}{2} &&a\left(x_0j + \frac{b}{d}k\right) + b\left(y_0j - \frac{a}{d}k\right) &= dj \\ &\iff& ax_0j + \frac{ab}{d}k + by_0j - \frac{ab}{d}k &= dj \\ &\iff& ax_0j + by_0j &= dj \\ \end{alignat*} $$$

            As for why we choose $$$\frac{b}{d}$$$ and $$$\frac{a}{d}$$$, it is becuase they are the smallest integers which can cancel each other out as above.

            For example, note that $$$x_0j + bk$$$ also gives us a set of valid answers. However, they don't give us the full set of answers. More formally:

            $$$\left\{\left(x_0j + bk, \, y_0j - ak\right)\mid k \in \mathbb{Z}\right\} \subseteq \left\{\left(x_0j + \frac{b}{d}k, \, y_0j - \frac{a}{d}k\right)\mid k \in \mathbb{Z}\right\}$$$
»
2 года назад, скрыть # |
 
Проголосовать: нравится -6 Проголосовать: не нравится

tourist used dp just to solve a Div3A lol 246990951

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

B getting hacked like potatoes!!

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

Dunno about you all but this is imo very confusing descrption:

description

Why use words sequentially? Why use "strictly after". If there werre not example input/output I would think that you have to find years p, p+1, p+2, ..., p+n such that first sign happens on p, second sign happens on p+1 and so on.

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

I tried solving C by calculating product of the range left after each operation using sqrt decomposition (247032959). It was giving TLE. Is there something wrong in implementation ? Because a same problem with similar constraints (243011064) got AC. I know it's not a good approach. It could be solved much simply but that's the approach I thought in contest.

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

Why is B getting hacked?

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

one of the best div 3s ever

thanks a lot

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

HackForces

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

Editorial when?

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

MikeMirzayanov I have an optimization for system testing. Instead of testing on whole set of test cases again, test just on new test cases because anyway the submissions which are being tested have passed the pretests. This can potentially speed up system testing.

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

Getting the system test done is like waiting for a snail to finish a marathon!

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

A testcase for A question has been missed in the system testing as well. The case is when the staring point is a goldcoin.Many users dint write the code to cover this edge case.Please look into it.

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

Anyone knows when Editorial will be out?

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

Why does this C++ segment tree for problem C get a TLE? https://mirror.codeforces.com/contest/1932/submission/247091172

The code copied here:

void build(vector<int> a, int v, int tl, int tr, int m, vector<int> &t) {
    int n = a.size();
    if (tl == tr) {
        t[v] = a[tl];
    } else {
        int tm = (tl + tr) / 2;
        build(a, v*2, tl, tm, m, t);
        build(a, v*2+1, tm+1, tr, m, t);
        t[v] = (t[v*2] * t[v*2+1]) % m;
        }
}
 
int product(int v, int tl, int tr, int l, int r, const vector<int> &t, int m) {
    if (l > r) 
        return 1;
    if (l == tl && r == tr) {
        return t[v] % m;
    }
    int tm = (tl + tr) / 2;
    return (product(v*2, tl, tm, l, min(r, tm), t, m)
           * product(v*2+1, tm+1, tr, max(l, tm+1), r, t, m)) % m;
}
 
void solve(){
    int n, m;
    cin >> n >> m;
    vector<int> a(n);
    for (int i = 0; i < n; i++){
        cin >> a[i];
    }
    string s;
    cin >> s;
 
    vector<int> t(4*n, 1);
    build(a, 1, 0, n-1, m, t);
    int low = 0;
    int high = n-1;
 
    for (auto c : s){
        cout << product(1, 0, n-1, low, high, t, m) << " ";
        if (c == 'L'){
            low++;
        } else {
            high--;
        }
    }
    cout << endl;
}
 
»
2 года назад, скрыть # |
 
Проголосовать: нравится +17 Проголосовать: не нравится

when's the editorial come out?

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

When is editorial?

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

When will the editorial be posted

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

pashka MikeMirzayanov Publish the editorial Bro.

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

Where can I get solutions of this round??

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

Hello I think this has been a mistake:

Attention!

Your solution 247092052 for the problem 1932F significantly coincides with solutions Bobsy_is_back/247078909, bdyby10101/247085106, nohellodotcom/247085167, Sahilamin219/247086160, soumyadipdasmahapatra664/247086213, orazalyy/247087989, siddhantbhardwaj234/247088775, lender/247088979, nishkarsh1215/247089048, naked_soul/247091483, 3mk_leader/247091900, _Fer3on_/247092036, bgopc/247092052, orzdevinwangg/247092115, AkshitSharma/247092541, AJ_25/247092808, Ari10/247093633, JOO_91/247095387. Such a coincidence is a clear rules violation. Note that unintentional leakage is also a violation. For example, do not use ideone.com with the default settings (public access to your code). If you have conclusive evidence that a coincidence has occurred due to the use of a common source published before the competition, write a comment to post about the round with all the details. More information can be found at http://mirror.codeforces.com/blog/entry/8790. Such violation of the rules may be the reason for blocking your account or other penalties. In case of repeated violations, your account may be blocked.

That contest was unrated for me and I didn't even got in the contest in the start time and I didn't even care? why would I cheat when it's unrated? and the codes aren't even alike like WHAT?? The algorithm looks alike I agree but the code doesn't like why would I even cheat in an unrated contest???

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

good contest

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

the question E has previously appeared in Atcoder Beginner Contest Question 233 E. Exactly the same