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

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

Привет! В 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, senjougaharin, shnirelman, SomethingNew, Toy_mouse, Zandler за тестирование раунда.

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

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

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

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

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

Всем удачи!

UPD: Разбор

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

»
3 месяца назад, # |
  Проголосовать: нравится -40 Проголосовать: не нравится

First

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Hoping for clear problem statement

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

such a great weekends!

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

All The Best (Zoom out if not visible)

»
3 месяца назад, # |
  Проголосовать: нравится -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)

»
3 месяца назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

What is the score distribution?

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

    In ICPC rules, all problems are worth the same.

    • »
      »
      »
      3 месяца назад, # ^ |
        Проголосовать: нравится -22 Проголосовать: не нравится

      So all are problems are rated 1000?

      • »
        »
        »
        »
        3 месяца назад, # ^ |
          Проголосовать: нравится -8 Проголосовать: не нравится

        it's based on how many problems you wrote, if equal it's based on penalty

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

        No, ICPC rules state that you are rated by # of problem solved, then time. There is no point system, however the questions themselves vary in difficulty (so better solve A first for a quick advantage)

»
3 месяца назад, # |
  Проголосовать: нравится +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.

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

    Ohh why not sir. Please tell us when you're free and we'll change the timing according to your availability. Thank you.

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

      Great that u understood. I prefer to have it on regular Cf time so that it doesn't coincide with Atcoder Regular Contest and people like me can go on with their regular Sunday Schedule.

  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится -8 Проголосовать: не нравится

    Oh yes lets change the contest date because Six_Seconds has an appointment at that time.

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

      2 of the biggest cp sites should try not to put contests at the same time....especially when one of them has been scheduled for weeks. (Note : leetcode does not count as cp)

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

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

as not a tester i would like to solve this round

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

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

This comment has been deleted.

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Good start time for Chinese.

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Back-to-Back codeforces contest. really amazing. Beast of luck everyone. ヽ(•‿•)ノ

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I have a feeling this round will be amazing.

»
3 месяца назад, # |
  Проголосовать: нравится -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.

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


»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

problems of this contest are prepared "step_by_step"

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

My 1st unrated Div 3 !(;

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I would target solving >75% problems.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Good start time!

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I know i will get -ve point in this contest :(

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Good lucks for everyone!

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Good luck to all of my grey friends :D

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Redemption time

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

extra registration ??

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

.

»
3 месяца назад, # |
  Проголосовать: нравится -12 Проголосовать: не нравится

c Problem is very tough :(

»
3 месяца назад, # |
  Проголосовать: нравится +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.

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

I got PTSD because of Problem C

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

    Yup, I think I could've done both D and E but just wouldn't give up C because I thought I was going crazy and missing something way too obvious.

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

      Yeah I kept trying to do modular inverse, but realized that only works for certain m.

      The observation is to figure out the last value before performing the last operation, then simulate the process backward and compute the cur value with modular multiplication.

      My solution is here if it helps: 247081220

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

      yes , i was not able to solve c , i decided to skip c , and i solved d and e both in contest.

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

    hint: reverse LR string

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

    Man, i solved C, but couldn't understand b, even after reading it 10 times

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

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

»
3 месяца назад, # |
  Проголосовать: нравится +25 Проголосовать: не нравится

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

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

    It was actually pretty easy, and I , of course, didn't think about the optimized solution during the contest. just AC it this morning

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Was F dp + segment trees?

»
3 месяца назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

when will i can see the editorial ??

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

how to solve the E?

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

    For example S = "12345", then the answer is 1 + 12 + 123 + 1234 + 12345 (hope you can find out why it is)

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

    A key observation is decreasing 10->0 takes 11 seconds, 100->0 takes 111 seconds...

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

    According to the statement, going from 10 -> 0 requires time = 11. going from 20 -> 0 requires time = 22. ... going from 100 to 0 requires time = 111. going from 200 to 0 requires time = 222.

    Say you are given string S = 12345 First you make 2345 -> 0 (A) then you go from 10000 -> 0 which requires 11111 time. (B) A+B is the ans.

    Let's make 2345 -> 0. First you make 345 -> 0, (A) and then you go from 2000 -> 0 which requires 2222 time. (B) A+B is the ans. and so on.

    Thus we can observe each i will be the sum of the prefix digits upto i.

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

went good for a first div3 unrated contest

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

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

    Maybe a long long overflow when calculating the product at the beginning.

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

    Every value of A(i) can go upto 1e4. Now imagine 1e4 values in all the n elements... It will be (1e4)^n and as n can itself go upto 2e5.

    So, (1000)^(20005). Do you think It can be stored?

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

    This line is definitely the problem:

    for(int i = 1; i <=n; i++){
        prefArr[i]=prefArr[i-1]*nums[i-1];
    }
    

    Because you could end up with a number as big as $$$10^{8 * 10^{5}}$$$ which just can't fit into a 64 bit integer.

»
3 месяца назад, # |
  Проголосовать: нравится 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...........

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

there was no where written about score penalty for wrong submissions? Why penalty has been made?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится -23 Проголосовать: не нравится

what the fuck is b and c

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

problem C was quite pleasure to solve

I felt like being Elegia

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

How to solve C?

»
3 месяца назад, # |
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

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

    for A i use recursive it's kinda similair to minimum jump problem code

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

    For problem A: you will not be able to move further after two consecutive thorns cells. The answer to the problem will be the number of coins up to two consecutive cells with thorns

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

    I didn't clearly understand your solution but let me tell you my logic

    Problem A: simply start from left & collect every coin and it any point you encounter two consecutive * (thorns) exit your loop.

    Problem B: let A be the year of ith apocalypse, then simply check for the (i+1)th apocalypse if its year is greater then A simply change A = that year, if it is <= a then find the next multiple of that element greater A.

    here are my solutions for reference

    https://codeforces.com/contest/1932/submission/246993142 — Problem A

    https://codeforces.com/contest/1932/submission/247002028 — Problem B

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

    For problem B you can linearly find the multiplier x(i+1) for which ai < a(i+1) * x(i+1)

    If you keep doing this for every i, the last element of the array is your answer.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

hi guys what means "Exit code is -1073740940"? what should i do with it?

»
3 месяца назад, # |
  Проголосовать: нравится +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?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I recorded myself live while solving it. I solved A,B,C and D problem. Hope it helps someone: https://www.youtube.com/watch?v=7Sv_tmVLQeQ

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

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

    backtracking

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

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

    • »
      »
      »
      3 месяца назад, # ^ |
        Проголосовать: нравится 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.

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

        I see, I believe I did something similar as well. Just couldn't simplify the conditionals effectively, so it almost comes off like a shabby brute-force.

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

    Store in map

  • »
    »
    3 месяца назад, # ^ |
    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.

  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится +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

  • »
    »
    3 месяца назад, # ^ |
    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;
            }
        }
    
  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    you can refer my solution Problem D

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

Spent a long time to understand what problem B wants

You too?

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

    +1

    i spent about 40 minutes trying to figure out what's required and solved it in like 5 minutes

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

    Same, I couldn't comprehend what problem B meant spent 40mins there and wasn't able to solve and then when I went to C, D, E all made sense. For problem E solution for python gave TLE, and by the time I wrote the code in C lang time was up. So frustrating could have possibly solved all 5...

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

    Yup me too, got to know by looking at the sample test cases. Poor writing of the problem statement.

»
3 месяца назад, # |
  Проголосовать: нравится +14 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

A lot of people are cheating . Codeforces please look into this matter. People are uploading their solution on youtube and telegram also. How it is possible that people submited solution of three problem in a gap of three minutes and also in different language while in contest and even after 1 hour suddenly they submit their solution

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится 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?

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

    Because long long will overflow

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

      I accept, I am dumb. Don't know why but thinking it as 1e5 * 1e4 which is (1e4+1e4+1e4+......(1e5 times)). But it is actually (1e4*1e4*1e4....(1e5 times) which will cause overflow.

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

    it's long long overflow, a[i] can be 1e4, and n can be 2e5 imagine array all the elements are 1e4 of length 2e5 so the product all of them is (1e4)^(2e5) that can't fit in long long

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

    Because there is a test case which $$$n=2\cdot10^5$$$ and all $$$a[i]$$$ are $$$10^4$$$, then it will be $$$10000^{200000}$$$ :)

»
3 месяца назад, # |
  Проголосовать: нравится 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?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится +1 Проголосовать: не нравится
    p *= a[i]
    
    

    gonna make integer overflow


    if (s[i] == 'L') { p /= a.front(); a.pop_front(); } else { p /= a.back(); a.pop_back(); }

    Is not accurate, because you need to use modulo inverse, although I think it is not usable in this problem (because m isn't a prime number sometimes)

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

      Maybe i misunderstood the problem? The problem let us get the product of the current array elements,then the let product mod m, lastly remove one element。

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

      247159936 can you have a look at this one too ,it fails on TC2 , I tried modding it with 1e9+7 because my earlier submission failed on TC3.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Whats wrong with the naive implementation of problem C?

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

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

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

    Must we use Blossom? I believed the graph wouldn't contain a cycle and is thus bipartite, so I tried to find the matching with max flow. However, I failed on test 3.

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

      I suppose that it can be solved using max_flow algorithms, but max matching is more intuitive, i think

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

why greedy does not work for F? :(

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

    how you suppose to do it greedily?

    • »
      »
      »
      3 месяца назад, # ^ |
      Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится
      1. sort according to the left points
      2. put those intervals into lists of non-overlapping intervals, like this:

      2 4, 5 7, 10 11

      2 6, 7 7

      4 5

      1. in each iteration, I'll increment the answer by the number of overlapping intervals in the first element of the lists (a little bit confusing description :(, those intervals will form a larger interval (called concatenated intervals) and also removes all intervals contained in the concatenated interval. Then remove empty lists.
      2. output the answer
»
3 месяца назад, # |
  Проголосовать: нравится +2 Проголосовать: не нравится

C problem is really hard for Div3 XD.

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

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

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

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

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

      C++ Code
  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится 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.

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

      yes very simple if you know how to solve it. not so simple if you dont.

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

        basically the reverse approach is hard to think of but it is not the only one you can use segtree and just recompute again for every range thanks to segtree this will be done in n log n instead of n^2

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

    I solved it with sqrt decomposition

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

    I had no idea that trees could be used to solve this problem :(

    I got it wrong when using a brute force method initially as I got a TLE since I was calculating the product again and again for each command giving somewhat O(n^2) solution

    Also I realized it was not possible to calculate product just once and remove the contribution of boundary elements in each command...

    then it hit me that I could probably start in the reverse order! start from the last element that would be left after all commands and then move reverse in the commands string and keep including the new element in the answer... (Basically not moving from n elements to 0 elements but instead moving from 0 elements to n elements) This way I could do it in O(n) by visiting each element just once. This would give us the answer vector in the reverse order and then I just print it in reverse to get the final correct answer!

    https://codeforces.com/contest/1932/submission/247080815

  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится 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

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

when you realize taking input in int and str matters just after the contest!-_-

TLE submission

AC submission-_-

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

One MODULO can make all the difference WoW!! (Problem C btw)

Without % -> This
With % -> This

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I came at the regular contests time and open the contest very seriously and solved the first problem and before starting the second one I looked to see how much time I spend on it, and yeah it was finished :(

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Finally I've recovered my -153 rating drop from Good Bye 2023 in this contest.

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

I loved Problem E,Great contest

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

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

フーヤをもらえますか

»
3 месяца назад, # |
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!

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

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 месяца назад, # |
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. ??

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

can someone explain problem B. Chaya Calendar

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

    This is the first case: 6 3 2 4 5 9 18 So the first sign occurs every 3 years, so the first time it occurs is in the third year. The second sign occurs every 2 years (2, 4, 6, 8... ), as signs must occur sequentially, the second sign will occur in the 4th year (the 2nd year also occured but the first sign didn't). So the ans will be like ans = 0 for freq in a: ans = ((ans/freq) + 1) * freq Doing this, you assure a year where all the ith signs have occured

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

qué rico contest // nice contest

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Is there a penalty for unsuccessful hacking attempts?

»
3 месяца назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

How to solve Problem G?

  • »
    »
    3 месяца назад, # ^ |
    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$$$.

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

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

      • »
        »
        »
        »
        3 месяца назад, # ^ |
        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)$$$.

        • »
          »
          »
          »
          »
          3 месяца назад, # ^ |
            Проголосовать: нравится +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

          • »
            »
            »
            »
            »
            »
            3 месяца назад, # ^ |
              Проголосовать: нравится +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\}$$$
            • »
              »
              »
              »
              »
              »
              »
              3 месяца назад, # ^ |
                Проголосовать: нравится +5 Проголосовать: не нравится

              Thankyou so much,this was just basic LCM calculation,i completely understood this now

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can O(NlogN) solution of problem C be hacked?

»
3 месяца назад, # |
  Проголосовать: нравится -6 Проголосовать: не нравится

tourist used dp just to solve a Div3A lol 246990951

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

B getting hacked like potatoes!!

»
3 месяца назад, # |
  Проголосовать: нравится 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.

»
3 месяца назад, # |
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.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

What was B, why was B, didn't understood it from question and explanation :(

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

If I have submitted 2 accepted solutions in Div 3. Will the later one be considered as my final solution and analyzed in system testing???

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why is B getting hacked?

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

    1000000 1 1000000 1 1000000 1... causes tl for solutions that try to linear search next year every time

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

one of the best div 3s ever

thanks a lot

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

HackForces

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

I solved problem C with segment tree and problem E with lazy propogation.There's has easy solution,but yesterday my brain stopped, silly me.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I'm joker.I directly used segment tree to solve C……

»
3 месяца назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

Editorial when?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Was this round not rated? I did not recieve any rating

»
3 месяца назад, # |
  Проголосовать: нравится 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.

»
3 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится 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.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why "My submissions" is showing empty when i solved 2 problems yesterday and its showing my my rank in standings but not showing my submissions and contest also not showing in my contest area?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

When will the rating update?

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

I solved problem B and It got AC in the contest time. But after system testing it got TLE!! If it says tle in the contest time then I should debug that. But Now this will cause a lot of rating loss.

Very Disappointing

I participated in a virtual contest and didn't know that virtual was unrated. Thank you rahulsingh28082000

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

wo

»
3 месяца назад, # |
  Проголосовать: нравится +9 Проголосовать: не нравится

Anyone knows when Editorial will be out?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why does this C++ segment tree for problem C get a TLE? https://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;
}
 
  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    You should pass vector through pointer in the build function. That is, replace the following:

    void build(vector<int> a, int v, int tl, int tr, int m, vector<int> &t)
    

    with:

    void build(vector<int> &a, int v, int tl, int tr, int m, vector<int> &t)
    
»
3 месяца назад, # |
  Проголосовать: нравится +17 Проголосовать: не нравится

when's the editorial come out?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Будет ли разбор задач ?

»
3 месяца назад, # |
  Проголосовать: нравится +9 Проголосовать: не нравится

When is editorial?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Those of you from the US probably know that paragraph 3 of Card Game is pretty political...

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

When will the editorial be posted

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

pashka MikeMirzayanov Publish the editorial Bro.

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

excuse me, but can someone take a look at my solution for D? 247482543

Edit
»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Where can I get solutions of this round??

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

    It haven’t been posted now(though it should have been posted), you can view other’s submission instead.

»
3 месяца назад, # |
  Проголосовать: нравится 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://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???

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

    Sorry !!

    Correct me please, Are you talking about anything I did? that solution you mentioned I am not even aware of the question!!

    if I have misunderstood please let me know, I am sorry for my wrong understanding then!

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

    Idk, why would you cheat in the unrated contest?

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

      I haven't that's the reason I'm appealing

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

        Dude I asked you why, not if you did it

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

          I didn't bro, there doesn't exist a reason for a thing that hasn't happened

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

            Bro, again, I didn't ask you to explain cause-and-effect relationship, I asked why you'd cheated in the contest

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

              I think u're not getting the point I DIDN't CHEAT so I don't have a reason to cheat in an unrated contest

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

                So what is your final answer?

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

                  I don't have a reason for something I haven't done

                  end of conversation

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

                  So you cheated because you didn't have a reason to cheat? But that makes no sense!

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

                  sounds like a u problem, end of the conversation

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

                  Well, it wasn't really a conversation since you pretty much ignored my question

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

                  Bro, When I haven't cheated, how can I answer it?

                  U think I cheated and asking me for a reason which I'd be doing the same in this situation, but I actually didn't cheat

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

                  Ok, I'm done now, I was messing with you, for a reason ofc

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

                  If the reason was get me to admit, I don't lie

                  peace

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

Attention!

Your solution 247034903 for the problem 1932D significantly coincides with solutions Monkey_d_Luffy-19834098/247033655, Algo_Phoenix/247034903. 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://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.

Respected Codeforces Community,

I have 2 accounts, one being my main (Algo_Phoenix) and other one is my alternate (Monkey_d_Luffy-19834098). In Div-3 (Round-927), I started by solving D problem and submitted. But after submitting I realized that I had been signed-in to my alternate account the whole time. I switched to my original ID as soon as I realized the fact.

247033655 (submission by alternate account)

247034903 (submission by main account)

I know that having an alternate account is illegal but it is not meant for cheating purposes or any kind of improper behaviour. As I started solving higher rating problems, sometimes, I counter some interesting problems (in problemset or while upsolving) and I have habit of experimenting with different approaches, so I don't want my main ID to have bad graph of too many wrong submissions. My alternate account is just for experimenting new approaches on some interesting problems.

My main ID has never been indulged in any unfair means and never will in future. In Div-3 (Round-925), I was unable to solve the B problem till the end; I still did not adopt any unfair practice. For me, my pride is everything. You can check my ID for reference

In short, I had no intent to participate with 2 accounts, I didn't see that I was signed to my alternate account as I was in hurry. I never want to spoil the contest for the official participants. I am sorry for the inconvenience caused. If necessary, I am ready to stop using my alternate account.

Please, considering the situation, don't apply penalties on me. I assure that this will never happen again.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I use a code snippet as a template in codeforces. Most of the time I have to change around 10-15 line in this snippet. Some of my Codeforces friends use my template on their code. That's why their submitted code significantly coincides with me. Codeforces report me that some of my submission are making violation. Now please suggest me how I can resolved this issue?

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

good contest

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why the contest is skipped? I don't make any cheat. Actually I use a template of my friend. Most of the time I need to change around 10-15 lines in this snipped. Use any friends template or any code snipped Is rule of violation?

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

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

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

the question E has previouslt appeared in atcoder ABC 233 as E

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

Why you changed your country pashka