vaaven's blog

By vaaven, history, 15 months ago, In English

Hello, Codeforces! We're glad to invite you to take part in Codeforces Round 1031 (Div. 2), which will start on Jun/15/2025 12:05 (Moscow time). Note the unusual start time of the round. You will be given 6 problems and 2 hours to solve them.

This round will be rated for participants whose rating is below 2100. Participants with higher rating can participate unofficially.

The problems were authored and prepared by bashkort, TheEvilBird, 127.0.0.1, Mangooste and Moscow Olympiad Scientific Committee.

The round is based on All-Russian olympiad in the name of Keldysh.

We would like to thank

Good luck everybody!

UPD: Score distribution: $$$500 - 750 - 1250 - 1750 - 2500 - 3000$$$

UPD2: Editorial

  • Vote: I like it
  • +11
  • Vote: I do not like it

| Write comment?
»
15 months ago, hide # |
 
Vote: I like it +64 Vote: I do not like it

hope to reach 1750+)

»
15 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

I am aiming to reach Expert in or may be close to expert this round !! Hope the problem statements are enjoyable and interesting , and God bless everyone !!

»
15 months ago, hide # |
Rev. 2  
Vote: I like it +6 Vote: I do not like it

omg, Mangooste && bashkort round!

»
15 months ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

That's a really short announcement ngl

»
15 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Hope to reach specialist again.

»
15 months ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

rating distribution? :pray:

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

only 5 testers?

»
15 months ago, hide # |
Rev. 2  
Vote: I like it +45 Vote: I do not like it

Just try not to make problem B harder than C.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Note the unusual start time of the round.

Thank you for reminding me to set an alarm.

Hope this round will be great and problems will be interesting :)

At last, what is the score distribution?

»
15 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

Hope to reach Master for the first time :D

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

9:05am — 11:05 UTC (Codeforces)

12:00pm — 2:00pm UTC (ARC Div. 2)

LETS GO!!!!!

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +21 Vote: I do not like it

    9:05am — 11:05 UTC (Im sleeping)

    12:00pm — 2:00pm UTC (Im still sleeping)

    LETS GO!!!!!

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

hope to cross 1350+)

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I manage to solve A and B easily, sometimes C but sometimes it's difficult to solve C, can anyone tell what to do to solve C and D like any structured way or source to practice??

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it -16 Vote: I do not like it

    Follow TLE Eliminators level 3, spend time reading editorials (how do the makers build up to the solution ,).will help for sure.

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it +8 Vote: I do not like it

      but ye to free nhi hai koi free wala bta do if possible???

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        Ask Senior , CM sheet , and their solutions. Shayans' discussions on youtube (too few , but still better than nothing )

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        Cses problems set helped me lot. I don't practive anymore, but I solved first two sections and it made quite a difference.

»
15 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

Hoping that this is the last time ill be hoping to reach pupil.

»
15 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

Good Luck EVERYONE!!!

Wishing you a positive Delta!

»
15 months ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

🗿

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Interested.

»
15 months ago, hide # |
 
Vote: I like it +19 Vote: I do not like it

Only two div. 2 people tested?

»
15 months ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

This round feels kinda odd

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hope that Problem statements are simple as announcement...

»
15 months ago, hide # |
Rev. 3  
Vote: I like it -14 Vote: I do not like it

..

»
15 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

Let's hope I dont spend the whole contest debuging just to later find out that a single character was wrong like Round 1030

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

glhf everyone.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hope to cross 1700 this contest

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Thank you for making such good and beautiful problems—I’m excited to see them. Yeahhh, lesssgo !! :)

»
15 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

I want to play maimai DX PRiSM PLUS after the contest.

»
15 months ago, hide # |
 
Vote: I like it -42 Vote: I do not like it

Loved the Problems. Specially D ...

»
15 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

i submitted 2 solutions both are correct will i still get -50??

»
15 months ago, hide # |
 
Vote: I like it +22 Vote: I do not like it

I'll give a shout-out to geometry on my suicide note

»
15 months ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

shouldn't have participated

»
15 months ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

What was that C !

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    You can find the empty cell which will destroy the least gold, then the place around the cell will be emptied and you can place TNT next to the former cell so that it won't destroy any other gold mine. It can be proven that after the first TNT is placed and the least gold is destroyed, the remaining gold can be all mined.

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      but checking for the next TNT(the adjacent cells) after placing each and every TNT would have given TLE.

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it +5 Vote: I do not like it

        You can check only one TNT. After checking it, other gold can all be collected.

        For example,


        5 5 2 g###g ###.g ##### ##.## ggggg

        You place the TNT on $$$(2,4)$$$, then it will be


        g.... #.... #.... #.... ggggg

        Then if you place TNT on the cell next to the first cell like $$$(2,3)$$$, you won't destroy any other gold, and so on, you can collect all the gold remaining.

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it +1 Vote: I do not like it

        You dont need to. Once you made 1 explosion you'll never waste gold again because you can explode adjacent cells

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        u can just calculate the 1st position to DESTROY min number of golds. after that all remaining can be mined so directly return/print them as ans. no need to simulate further than step 1

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        Got it. Thanks

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Apparently, 2D prefix sum. It took a good amount of time to figure that out. Lol.

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it +1 Vote: I do not like it

      1D prefix sum is fast enough though

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        Why do you think it is fast enough with 1D prefix sum?

        I also used 1D prefix sum, because I did not have enough time, but I can't be sure that it will be fast enough in all cases.

        • »
          »
          »
          »
          »
          15 months ago, hide # ^ |
           
          Vote: I like it 0 Vote: I do not like it

          The worst case would be 500x500 empty grid with k = 500, which is 500x500x500x2 = 125000000 row-prefix sums, which I guessed would be fast enough, and luckily was well within the limits. I didn't have certainty at the time of submission either, but I hadn't figured out the 2d way and figured it was worth a shot.

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

How to do D and F?

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Problem D.

    I used the method of binary search for answers. I binary search for the number of games that players can win. During the inspection process, I came up with a greedy method. Suppose we win $$$x$$$ games. I divide the array $$$a$$$ into two parts, the first $$$x$$$ and the last $$$n - x$$$. Then I will exchange the minimum value of the first half and the maximum value of the second half (of course, some special cases need to be judged, such as the minimum value of the first half being greater than the maximum value of the second half). This greedy train of thought passed the pretest.

    It's a pity that I can't explain its correctness very well.

    my submission
»
15 months ago, hide # |
Rev. 2  
Vote: I like it +5 Vote: I do not like it

Apart from the extremely difficult D(Completely no idea), A and B were absolutely pain. These two problems need much more observation and mathematics details than usual, which makes them somehow very exhausting(at least for me).

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    I think that was the point.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    D, I thought of Binary Search on the Answer method.

    But actually I don't need binary search, I can brute force all answer from 0 to N.

    Hope it passes the system test.

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it +8 Vote: I do not like it

      I also came up with the idea of binary search for answers. If my submission can pass the system test, this is the most amazing binary search answer question I have ever seen.

    • »
      »
      »
      15 months ago, hide # ^ |
      Rev. 2  
      Vote: I like it +5 Vote: I do not like it

      Game problem at this position is a little scaring. I guess D is not easy to get on with without some serious deductions or observation, but I didn't have time and energy to think more deeply after solving ABC.

      Update: This is really a binary search problem. Amazing!

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +2 Vote: I do not like it

    nahh bro, A and B were quite easy if u can visualise stuff.

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

how to solve C??

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +5 Vote: I do not like it

    go on every empty cell and check what gold will be demolished if we detonated at that cell,subtract that from total gold in matrix as it will be always achievable after wards

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +2 Vote: I do not like it

    so what I figured out was if you clear any square in the first move ... then you can always take all the remaining gold after that ( to prove this I drew a grid in my paper and then you can always expand the initial square one layer at a time in each direction )

    so problem reduces to how many gold gets destroyed in first dynamite blast, and we would like to minimize this of course

    so the problem is for the possible blast location in first move ( ie empty cells at center ) .. what blast square contains least amount of gold

    this can be solved with prefix sum for 2d- grid like technique .. but you have to figure out rectangle affect by blasting at a particular location

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    Check which initial explosion will waste the least gold. After that, you can collect all the golds by choosing the empty cells optimally, so you don't need to check that.

    Final answer is: total gold — least gold wasted from the first explosion among all possible first explosions.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Let's calculate the total gold of the initial matrix. The answer only depends on the first explosion we make. Let's try all the explosion we can make, and calculate the number of gold that is deleted after that explosion, let's denote it as x. Then the answer is maximum of all the total gold minus x over all explosion we made at the first move.

»
15 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it
»
15 months ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

darnIt ....

problem C -> 20min

problem A -> 30 min ... 2 wrong submissions

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Bhai the same thing is happening with me for the last 5-6 contest where i am unable to solve B but most of the time I can solve C in much lesser time.. Why is this happening?
    Also can you tell what should I do to become specialist as soon as possible, i try to solve hard problems (1500-1600) and most of the time I am able to solve these in around an hour(unless its a dp problem), could you tell where I am going wrong?

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      I am sorry I have no specific response other than practice more..

      but you have solved more questions than me.. so I don't think I qualify to give you advice on that as well LOL

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        In short skill issue right :p no worries I will keep trying as I enjoy it.

        • »
          »
          »
          »
          »
          15 months ago, hide # ^ |
           
          Vote: I like it 0 Vote: I do not like it

          no of course not.. I have done lot of questions on other platforms.. it takes time... keep up the practice, but don't solve easy questions when you practice.. only questions which are around 100 to 300 above your rating.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

B >>> C

»
15 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

Statements felt confusing.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

GridForces :|

»
15 months ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

I hate Cheater. I hate cheater.

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

couldn't solve C, I know only brute force way but that is giving WA's, can anyone give idea in which direction we should think for such problems?

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    In this problem, at worst you'll only need to explode 1 crowded cell (might have gold in it), but after that you have room to move and you'll never lose any gold.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    i checked the constraints ~500 so i thought of dp and dfs (graph theory in general) maybe 2d prefix arrays

    thats why i got stuck i forgot 2d prefix solution can exist

»
15 months ago, hide # |
 
Vote: I like it +27 Vote: I do not like it

As a participant who solved D but not B, C<A<D<B

»
15 months ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

Is it just me, or are the Div2 B's getting tougher day by day :(

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

someone can explain me: i didn't understand the D question 3rd test case

5 8 6 3 10 1 7 9 5 2 4

why i as a player can't swap 10 to 8 instead of 10 to 3 which is explained in ts.

if i swap 10 to 8, i collect more than 3 points.

swapping the max element to first card win you more game no ?

»
15 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

i didnt think c can be solved using 2d prefix until the last 20 mins of the contest

trying dp and dfs was a headache

thank you for this beautiful contest!

»
15 months ago, hide # |
Rev. 3  
Vote: I like it 0 Vote: I do not like it

.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I think it took me more time to figure out how the explosion is working in C than it took to actually solve it

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    same but i am still not able to figure it out, can you explain me?

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      basically, the top left will be (x — k — 1, y — k — 1), and bottom right will be (x + k — 1, y + k — 1)

»
15 months ago, hide # |
 
Vote: I like it +42 Vote: I do not like it

I missed this contest due to some accidents, but now it seems that I am lucky

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I don't understand what I was doing wrong in qB

»
15 months ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

Terrible statements and testcase examples for C, very unclear and not explained properly.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +3 Vote: I do not like it

    i think they only missed mentioning its infinite explosions, but explained later in the notes

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

wtf, kya hi contest tha majjaaa aagyaaa :)

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Please someone share idea to solve D,

I couldn't solve it during the contest and didn't get any ideas on how to tackle it.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

In problem D, is it true that if the maximum of $$$\min(a_1, a_2, ..., a_k)$$$ after swapping is larger than $$$\min(b_1, b_2, ..., b_{n-k+1})$$$, then I can win at least $$$k$$$ times? I tried this but got wrong answer.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    The idea seems correct (though I haven't performed an extensive fuzzing). However, here's an example of a test that breaks your solution:

    1
    6
    1 9 7 8 4 2
    5 6 11 12 10 3
    

    I don't know what's wrong here — supposedly the way you find the best swapping is wrong.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    it has to be right? you're playing n rounds, so n cards got discarded. the one that remains has to be the one with the minimum value amongst all the n+1 cards you mentioned.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I could make no observation for A problem. what was it?? B felt far more logical than A (i hope sys test don't prove me wrong)

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    For A ... what I finally figured out was that try to reduce by minimum delta.. so if x < y ... use all x moves first until possible .. else use all y moves first

    then use the remaining moves .. but I made wrong submissions before figuring this out.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    implementation , Take from the cheaper option until you can’t anymore, then try the other one. use an equation to bypass time limit

»
15 months ago, hide # |
 
Vote: I like it -9 Vote: I do not like it

AM I THE ONLY ONE WHO FELT PROBLEM B WAS MORE TOUGHER THAN THE USUAL DIV 2 B PROBLEMS?

»
15 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

No doubt that this round required more time, especially in testing and improving problems, so tough problems that seem to include tons of corner cases

»
15 months ago, hide # |
 
Vote: I like it +14 Vote: I do not like it

problems were good.

»
15 months ago, hide # |
 
Vote: I like it +12 Vote: I do not like it

anandxaditya was in my room and I'm pretty sure he has cheated. Just look at the quality of documentation he is doing while maintaining his speed

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How to Solve B ?

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it +1 Vote: I do not like it

    I figured by drawing some grids on paper

    we can solve it in each dimension independently

    so find hGap and vGap... horizontal and vertical gap

    it is possible to fill the gap between them if it is divisible by length in that direction ... I didn't prove it but I was not able to fill the grid when it was not divisible

    also these gaps should be >=0 ... i think -ve can give you wrong answer like -2 is divisible by 2 .. but that doesn't count

»
15 months ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

Unusually difficult contest. B and especially C were ridiculous compared to most other div2 contests. D in contrast was unusually easy (though proving the solution, less easy).

Oh wait, there was only one div2 tester, that's why :smile:

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    please tell the idea of D... I was not able to make any progress on it.

    • »
      »
      »
      15 months ago, hide # ^ |
      Rev. 3  
      Vote: I like it +3 Vote: I do not like it

      binary search on the answer, to test whether K <= answer play out the game with

      • either the initial layout

      • or (if K < N) with a layout where the smallest number from the first K is swapped for the greatest number from the last N-K (oops it said K which is a typo)

      each playthrough is O(N), finding the elements to swap is O(N) (though can be faster but it is unnecessary), O(log N) attempts to find the answer => N log N

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        oh I see, thanks very much for sharing the idea.

        OK so the direction to pursue was given a score, can I achieve it with at max one swap .. then binary search on the score

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    how did u come up with that conclusion of first k and last k if its so difficult to prove?Isn't it kind of random

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      not last k, last N-k — was a typo :( basically last N-k is the cards that do not play if you win k rounds, and the owner of the smallest card loses, so you want to push the smallest item far away so it does not play.

»
15 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

Can someone explain the approach for problem B?

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How to solve problems like C and D.

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    in C just first time explodes cost gold, rest all can be collected.

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      why this works?

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        because u can do the next explosion on some cell adjacent to the last explosions's center and it will collect the gold just outside the last explosions's border, and no extra gold is wasted since u already collected gold from last explosion's border. keep repeating till all cells are covered.

    • »
      »
      »
      15 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      can you please elaborate and why does it work like that

      • »
        »
        »
        »
        15 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        Once matrix get explode, then you can collect all gold consecutive side(in any direction) and by similar way you collect all other gold, hence no loss of gold happen.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Can anyone share the core idea for D? I solved F after C, but have made 0% progress on D since then :(((

  • »
    »
    15 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    quick editorial is already out, so we can read the official answer...

  • »
    »
    15 months ago, hide # ^ |
    Rev. 2  
    Vote: I like it +11 Vote: I do not like it

    My idea for D is quite the same as official solution.

    The Idea: If you want to get x score then all your (first x) cards must be greater than the smallest (first [n-x]) cards of enemy.

    The main difference is I iteratively check answer from small to big (big to small might be better),

    While the official solution uses Binary Search.

    Edit: wrong explanation

»
15 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

trash mathforces + gridforces + guessingforces.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

trash round

»
15 months ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

MikeMirzayanov, vaaven the account yashhatwar is suspicious. Have a look at these submissions from today's contest: Seems from some LLM: 324492128, 324511691 Looks original: 324481085

These submissions from round 2117: Seems from some LLM: 323469770 Looks original: 323455468, 323437423

»
15 months ago, hide # |
 
Vote: I like it -15 Vote: I do not like it

Did the authors think B was easy just because the solution is so short? How absurd! There should've been testers of lower ratings as well

»
15 months ago, hide # |
Rev. 2  
Vote: I like it +6 Vote: I do not like it

If C can be solved in O(n^2) using 2D prefix sum, why was limit on n kept <= 500?

»
15 months ago, hide # |
 
Vote: I like it -37 Vote: I do not like it

Many people complain that the contest is difficult, pointless, and the questions aren't tested. Is there a chance it will be unrated?

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I think there is some issue with the ratings awarded in the contest. I solved 2 ques and got rank 4200 but still there was only +1 increase in my rating.

»
15 months ago, hide # |
Rev. 2  
Vote: I like it -22 Vote: I do not like it

Not a proper Div. 2

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

B is so trash... 2 hours of hard brainstorm and zero as result

»
15 months ago, hide # |
Rev. 7  
Vote: I like it 0 Vote: I do not like it

shitty contest

»
15 months ago, hide # |
 
Vote: I like it -15 Vote: I do not like it

Hello coordinators,

I received a plagiarism warning regarding my submission (ID: 324506450) for problem 2113C, stating that it significantly coincides with other solutions.

I would like to respectfully clarify that I wrote my code entirely by myself during the contest. I used the CodeChef IDE to write my solution and was not aware that it might be publicly accessible. I did not share my code with anyone, nor did I copy from any external source.

I’m genuinely surprised by this warning, as I took care to participate fairly and independently. If a similarity exists, it must be purely coincidental or unintentionally caused by the editor I used.

This is the first time something like this has happened to me, and I now understand the importance of using private local editors. From now on, I will make sure to use a local editor like Visual Studio Code to avoid any such issues.

Please let me know if I can provide any further details to support my case. I would be grateful if you could kindly review the situation again.

Happy to explain my solution or share additional information if required.
Thank you for your consideration.

»
15 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

awful

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I received a message that my solution (ID: 324490202) for problem 2113B significantly coincides with submissions from other users. I would like to clarify that I wrote the solution entirely on my own during the contest and did not engage in any form of cheating or code sharing.

I have not shared my code with anyone, nor have I copied from any source. If there is any similarity, it is purely coincidental or possibly due to similar logic being used for standard approaches. I did not use any public IDE or make my code accessible online in any form.

I fully respect the rules of Codeforces and competitive programming ethics. I kindly request a fair re-evaluation of my submission.

Thank you.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Competitive Programming in 2025 – A Broken Race?

Two coders. Same leaderboard.

  1. One writes 200+ lines, fails test case #83, debugs, and finally ACs.
  2. The other pays ₹25 and submits instantly.

Result?

  1. Both rank above you. One earned it.
  2. The other bought it.

The problem: CP is turning into a “pay-to-win” model.

Impact:

  1. Honest coders feel demotivated
  2. Rankings lose meaning

The spirit of CP is at risk !!

The ask: Platforms like Codeforces, CodeChef, LeetCode must act fast. Cheating isn’t just breaking rules — it's breaking the community.

Let’s keep CP clean. Let’s keep it fair. Agree or disagree?