SanguineChameleon's blog

By SanguineChameleon, 12 months ago, In English

✨ It took over a year, but it's finally here! ✨


Hello everyone! :D

We are proud to invite you to participate in Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2), which will be held on Apr/19/2025 17:35 (Moscow time).

The round will be rated for everyone. You will be given 8 problems and 2 hours to solve them. One of the problems will be interactive, so make sure to read the guide for interactive problems before the contest.

All problems were authored by thenymphsofdelphi and me.

We would like to thank the following people:

Scoring distribution:

A B C D E F G H
$$$500$$$ $$$750$$$ $$$1500$$$ $$$1750$$$ $$$2000$$$ $$$2750$$$ $$$2750$$$ $$$3500$$$

See you soon, and we hope you find the contest ✨ wonderful! ✨


And now, a word from our sponsor!

Neowise Labs is a proprietary trading firm founded by dark_ai, Igor_Kudryashov and Edvard. Most team members in Neowise Labs have maths and programming olympiad backgrounds. You can read more about us in the recent Codeforces post.

We’re open to find and work with new team members from the Codeforces community. If you’re interested in research, infra or other positions please fill out the form.

We’ve prepared presents for the winners and participants of the round:

  • The best three participants will receive Apple Macbook Air M4 13'.
  • The top 50 and random 50 participants from the top 500 will receive Neowise Labs caps.
  • We also prepared valuable presents for some of the top 500 contestants but the formula to choose those contestants is a secret and will be revealed after the contest is finished, sha512 checksum for the formula is below: 7b55c594304f082436ee82bc051cf209254c103ef4545a4045c61e5d8340426a8124d8e5b5f1e1da8e534e72c4336255bd0443e5a47e35c03c6dd55ae5cbc1cc

Best of luck on the contest and have fun!


Update 1: The scoring distribution has been announced!

Update 2: Seems like a notorious coincidence.

Update 3: The editorial has been released.

Congratulations to our winners!

  1. maroonrk
  2. BurnedChicken
  3. ksun48
  4. hos.lyric
  5. tourist
  6. heuristica
  7. Benq
  8. Radewoosh
  9. zhoukangyang
  10. maspy
  • Vote: I like it
  • +14
  • Vote: I do not like it

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

As the emotional supporter for SanguineChameleon, I hope everybody will enjoy the problems!

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

    As a tester, I enjoyed the problems a lot and encourage everyone to join the contest

    Hope everyone to get a plus in rate

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

    As a tester, I can confirm that the problems are extremely interesting! 🔥

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

    Being a Participant I want to announce that, In Pakistan this contest is more than a Div. 1 + 2 contest. It is POI (Pakistan Olympiad in Informatics). I hope for 1200+. Can someone give any suggestions to reach 1200 +.

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

      We're u also told just one day before the test ? How it was fair from Pakistan's side? Thanks

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

        That's unfair for us, I was really expecting that this contest will be offline, but we can't do anything about this.And how about your standings.

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

          I tried to solve the first problem which was easy a according to them but didn't submit it due to not having proper output. We were only give a day for this competition how we could stand good?It was our poi and authorities of Pakistan should give hint about it. The problems were good however.What about ur Standings ?

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

    so beautiful dp.

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

As a tester, this is my third as-a-tester comment. :)

I enjoyed the problems, and I encourage everyone to participate in this round!

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

Thank you to the authors for setting the problems. Once again, I enjoyed watching Hori suffer.

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

As a tester I enjoyed suffering (and the problems of course). I encourage everyone to participate.

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

As a tester, I hope you enjoy the problems, as well as wish you luck to win some presents )

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

as a current hsgs student, I am actually obligated to participate in the contest (not really)

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

"Over a year in the making? These problems better be ✨ legendary! ✨ Can't wait!"

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

yayy, contest with vietnamese problemsetters

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

i hope the problems are strong strong :)

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

Hope to get back in Cyan

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

As a participant, seeing Um_nik as a tester means more binary search problems.

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

Hope to reach 1400+

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

hope to reach CM

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

Vietnamese assemble!

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

Oh wow, there are presents as well. We need strong luck to score one of the random lottery prizes.

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

As a participant, I hope I can reach GM.

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

interesting!

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

orz Um_nik

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

Good luck to everyone!!! And enjoyment of doing contest to everyone!!!

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

Hope we will enjoy the contest !!

»
12 months ago, hide # |
Rev. 3  
Vote: I like it +18 Vote: I do not like it

Isn't Div. 1 + Div. 2 usually 2.5-3 hours, Why only 2 hours this time?

UPD: Oh I realized the pattern, 9-11 problems -> 2.5-3 hours. 8 problems -> 2-2.5 hours.

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

When will the scoring distribution be released? The contest starts in about 1 day and I don't know what problems I should be focusing on

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

dm contest vn

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

As a participant, I can say that this is a contest.

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

An interesting pattern has caught my attention! Even wondered, why there is an _ in Um_nik handle? Well, every small detail has a reason behind it! Let's look at letter positions in the alphabet:

U -> 21 M -> 13 N -> 14 I -> 9 K -> 11

See it yet? 21 + 13 + 14 + 9 + 11 = 68

And Umnik1 doesn't look pretty

Dear Um_nik I would like you to either confirm or deny the aforementioned reasoning

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

won't get c for sure as it's gonna be rated more than 1500. no negative please- i wanna push to cyan

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

Not one, not two, three Macbooks Neowise labs printing some money

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

SHA‑512 is a one-way cryptographic function. I hope the questions are in the field of cryptography and we all have fun.

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

i wish interactive problem is not beyond d

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

Um_nik is a tester means it will be worth it!!

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

hope to reach cyan this time

also this contest is so orz

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

Can anyone please tell me how the score distribution is related to the problem rating? 500 means 800 rating problems on Codeforces?

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

    No, it's not like that. The problem rating will be updated on the problem tag after around a week. This is just a score used to prepare the scoreboard and has nothing to do with the problem rating.

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

Hope to reach 1200+ rating

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

Proud that the contest was prepared by 2 Gold IOI Vietnamese ヾ( ˃ᴗ˂ )◞ :DD!!!!

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

participant, +ve!

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

back after 6 months

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

The language of problem is really bad, it took me so long to understand what it is actually asking. Very ambiguous problem statement

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

amazed by how many people solved b, is it that easy?

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

For today, I'll just accept my fate as the proud owner of sticks & gloves. Thanks for the contest!

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

BRUHH I GOT -VE

»
12 months ago, hide # |
Rev. 2  
Vote: I like it +4 Vote: I do not like it
tbh
»
12 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

I'd rather be a proud leader of a city in Ancient Berland than to be a proud owner of lightbulbs.

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

Fun Problems, C was much harder than usual. D was lights out

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

    How did you do it? I tried everything using two-coloring and still WA on test 2...

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

      Take/Not take DP.

      The insight is this: pre-compute whether you're forced to take for each row and column separately

      For example:

      ex1: [0, 0, 0] if index 0 takes, you have [1, 0, 0], index 1 is forced to not take.

      ex2: [-1, 0, 0] if index 0 takes, you have [0, 0, 0] index 1 is forced TO take.

      expand this out to 2d by keeping track of for each index whether you're forced to take or not, and if you're both forced to take and forced not to take it's impossible.

      Next step is running a dp over column cost, and dp over row cost. Keep in mind altering columns/rows do not affect each other so can be calculated separately

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

.

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

C is way above my level but i gave it a try

im thinking of constructing two more diff grids, one for row differences and one for column

then to apply the summing operations in these

if a row in the col diff array / col in the row diff array have all 1, 0, -1 — then the grid is impossible

then there are different cases

am i even remotely in the right direction? please guide

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

    For C i ran a take/not take DP for both rows and columns separately.

    The next insight is you need to pre-compute whether you're forced to take or not take based on the previous row or column taking. If you're both forced to take and not take, it's impossible. Otherwise calculate the minimum.

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

    Yes you were in exactly correct direction. you had to prercheck that is some diff is possible for some row, then use dp to find minimum cost for that row. you can repeat that for the columns ( as columns costs are independent of row costs ).

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

will it be unrated?

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

When I searched for "Interval XOR" on Google, this Yukicoder problem appeared at the top of the results. I'm curious whether this is something that only happens within Japan, or if people around the world can reach this problem the same way.

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

I found '<' and '>' in problem A is kind of anti-intuitive...

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

how to calculate y coordinate in D!!! for more than 1 hour, i could not come up with the solution.

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

    Parity of x=c and x+y=c wouldn't change.

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

      would you please elaborate?

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

        We can only xor bulbs in this pattern:

        .
        ..
         .
        

        If all bulbs are off initially, on the line $$$x=c_1$$$ (where $$$c_1$$$ is a constant), there will only be an even number of bulbs on. For the same reason, on the line $$$x+y=c_2$$$ (where $$$c_2$$$ is a constant), there will only be an even number of bulbs on.

        Therefore, we only need to find the $$$c_1$$$ and $$$c_2$$$, satisfying the number of bulbs on is odd. Solve the equation set {$$$x=c_1$$$, $$$x+y=c_2$$$} will get the coordinate.

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

          Why do you consider parity, and how do you prove that it is a sufficient condition?

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

            I just drew the pattern and stared at it for a while... and then noticed $$$x=c_1$$$'s parity. Stuck for a while on how to find $$$y$$$, looked diagonally and found $$$x+y=c_2$$$'s parity. Didn't prove during the contest, but I submitted because I didn't have enough time left.

            As for the proof, I thought for a while but couldn't write it as a formal mathematical proof. Maybe my explanation above could be a proof?

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

          Lol your comment made me realize I was imagining the pattern wrongly — I was taking it as:

            X
          X X
            X
          

          Is this also solvable?

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

          Thank you, i feel like a fool.

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

        Refer to my code 316287361. Hopefully it will pass system tests.

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

    If you convert x'=x, y'=y+x, the operation becomes a 2x2 inversion. This operation does not change the values ​​of XOR(x') and XOR(y'). If you perform the same transformation on the given coordinates, the answer is X'_ans = XOR(x'), Y'_ans=XOR(y'). If you perform the inverse transformation from here, you will get the answer. Which is x = X'_ans, y = Y'_ans-X'_ans

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

aaaahhh !! took too much time on C and didn't do D ...

hello div2 my old friend ;-;

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

Problem H is same as Interval XOR.

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

    I found it in the last two minutes, just change the input and output. But failed on submitting. Curious with if this contest would be unrated.

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

      As someone who didn't solve H, any hope of removing H from the round and keeping it rated? :P

      I feel like it doesn't make sense to have this problem affect the standings if solving it was just a function of whether you copy-pasted an AC submission from yukicoder or not.

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

        I don't know if simply deleting this problem works, because after I solve E, I saw some of my friends solved H, so I spent the rest of the contest doing H. Though I might not be able to solve FG either after all, I think there are definitely many people who were affected by the number of solves and wasted lots of time on H.

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

          Sure, but it's not like

          • keeping problem H and the contest rated

          would be fairer for you than

          • removing problem H and keeping the contest rated

          since your rank could only get better after the removal.

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

        this is not the first time this has happened, and certainly wont be the last time.

        I think its quite hypocritical statement from you, considering you have also (ab)used this before 187332214 (and so have most other top users before)

        Problem coincidences happen, and they are unfortunate but mostly unavoidable. I dont think unrating every round where anybody got an advantage is either possible or good for the community.

        Very often problems are very similiar to another problem, instead of being direct copies. What exactly changes there? They still give huge advantage to people who have solved it before.

        • »
          »
          »
          »
          »
          12 months ago, hide # ^ |
          Rev. 2  
          Vote: I like it -39 Vote: I do not like it

          I think its quite hypocritical statement from you,

          I think this case is a bit different in sense that (almost) everyone copied this one from the same source.

          I dont think unrating every round where anybody got an advantage is either possible or good for the community.

          I did not suggest making the round unrated.

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

            not different to you personally.

            In that case, you gained rating because you had seen a problem before. In this case, you lost rating because you had not seen a problem before.

            Perfectly balanced.

            anyways, lets talk about that case. At least you, umnik and tourist were aware of the existing problem (and probably more but i cannot verify). Even if we are generous, and say only 5 users solved it "illegitimately", why exactly is it a different case? Those 5 users have still "eaten" the other participants ratings.

            How does the (copied from the) "same source" matter? What difference does it make if there are 5 sources or just 1

            • »
              »
              »
              »
              »
              »
              »
              12 months ago, hide # ^ |
              Rev. 4  
              Vote: I like it -11 Vote: I do not like it

              Even if we are generous, and say only 5 users solved it "illegitimately", why exactly is it a different case?

              I think maybe half in that case versus (100-eps)% in this case is a difference that matters.

              In that case, you gained rating because you had seen a problem before.

              Well, if G had not been counted in that round I wouldn't have complained.

              How does the (copied from the) "same source" matter? What difference does it make if there are 5 sources or just 1

              If there are many sources that means that the idea is pretty well-known. For example, in the case of the Good Bye round, I have definitely seen (and implemented) the idea multiple times before, the submission that I copied just happened to be the last place where I saw the idea used.

              Whereas in this case I think the vast majority of contestants hadn't solved the problem before, they just managed to search for the problem (with various degrees of success depending on their region).

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

        Adding on to this, maybe a reasonable solution is to remove H, then allow anyone who solved H to remove themselves from rating changes?

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

Was B very intuitive to you guys?

Took me a while before I had an idea...

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

I've seen similar problems to problem H before (they are private problems, and I've never written codes). I tried to search for it after I saw someone passed it in 9 minutes, and found the original problem in no more than 30 seconds (literally, 30 seconds)

I personally think this problem is well known (although yukicoder is not quite known, but the similar method has appeared multiple times), and I wonder if the testers have really never seen them before, or if the problem setting process is incomplete.

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

 my face when gigi mentioned in question F (I couldn't solve it)

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

how I found H:

  1. watch scoreboard, the people who solved it are all Japanese
  2. go to yukicoder problems -> list, 4.5+ star only
  3. there is a problem called "Interval XOR" in the first page
  4. free rating
»
12 months ago, hide # |
 
Vote: I like it +11 Vote: I do not like it

Anyone else skip C to gamble at D and stuck till the end of contest?

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

Could anyone tell me the solution of problem E? I can't solve it :(

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

    From examples like this one 'PBPPB' we get that Pairs i,i+1 where s[i]==s[i+1] are irrelevant so we just move them straight away to begin or end, then we get more pairs like that and move them again until we get a string of alternating characters.

    Now for this string we just choose 'PBPB' part make it 'BBPP' with 2 operations and move 'PP' to the end again until the string becomes empty.

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

speedforces :/

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

What is the test 2 in C?

https://mirror.codeforces.com/contest/2096/submission/316287266

what's wrong in my code?

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

So interesting especially div2d, enjoying new switch puzzle:)

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

    Please tell logic to solve it.

    I could figure out the simulation but it wont run fast .. but I couldn't optimize in time. should be some pattern.

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

      parity of column(number of points with same x) remains even except when x==treasure_x Similarly parity of x+y==c remains even except when treasure lies on it.

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

        this is brilliant, I see it now how it relates to the shape of switch ...

        I figured parity of X thing. but didn't observe parity of X+Y ....

        thank you for sharing this genius insight.

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

        Why did you consider parity, and how do you prove that it is a sufficient condition?

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

          I was just trying different ideas, there can be exactly one such point so it's sufficient

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

It took over a year, but it's finally here!

You guys couldn't make an original H in one year?

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

How to solve C? Just had an idea that it is DP, but no idea how to approach.

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

    rows and columns were independent and both have exactly same solutions

    the dp state I used was current_row, isEqual, isLess

    isEqual means there is some equal height in the previous row -> this will mean we HAVE to do an operation in this row

    isLess means there is some height in this row which is 1 less than the last row.. so now I CAN NOT do the increase operation because then this height will become same as previous.

    so based on these state I choose between doing the opearation and not doing the operation at every row

    same thing for column so I transpose my matrix and ran the row algorithm again.. it passed pretests

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

      how are we assuring that some change that i am doing in a row

      won't affect the columns order or vice versa

      let say we do an operation in a row and now the all columns will have different number

      so future calculation will be dependent

      as per the code you are handling rows and columns differently

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

        yeah row operations will not affect columns that is the observation I was able to make

        a b c
        
        d e f
        
        g h i
        

        if you do operation on 2nd row it becomes

        a    b   c
        
        d+1 e+1  f+1
        
        g    h   i
        

        when you do column operation ... (d+1) and (e+1) will be compared ... and (e+1) - (d+1) == e - d .. so column difference is not affected

        yes all column value in that row changes but we are only worried about difference

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

    what I did was either do operation on row or skip it , then similarly another memoization for doing operation on col or skip it ans is rowrec + colrec (just make sure you are not doing anything invalid)

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

      how did you check invalid... in my first attempt I forgot to consider that you might actually make equal to last row.. luckily it failed on the given test cases.

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

        if my funtion cant find any valid transition to move forward it will return INF; if it returns INF means its invalid like i will do operation now and move forward to next row but then compare if it finds prev row == current row its invalid

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

Scoring distribution and contest time ruined everything, downvote from all my heart.

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

How should I deal with this question F? I got stuck for a long time on the pretest 9 due to Time limit exceeded error. :)

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

Geez.How to D? I literally stared at the coordinate for ages and discovered nothing qwq. BTW. The problems are quite interesting!

»
12 months ago, hide # |
 
Vote: I like it +4 Vote: I do not like it
Problem C WA Test 2
) I love this website
»
12 months ago, hide # |
 
Vote: I like it +169 Vote: I do not like it

I have seen H before in a private contest, and even taught someone how to solve it a few days ago. Unfortunately, I don't have access to the code for that problem :clown

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

GIGI MENTIONED!!!!!

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

Did anyone solve F using Mo's algorithm with rollbacks + segment tree? I think I have such a solution but I didn't manage to implement it during the round.

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

    I have the exactly same thought during the contest, and obviously I can't implement the thing either.

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

As a 2nd year cse student, I enjoyed the contest and learn many things

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

when tourist was taking a lot of time in solving problem H than others i knew something was really fishy about H and yep it was just a copied problem :) else tourist would have gotten rank 1 again

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

Personally speaking I think simply delete problem H will be a good choice. I doubt if there's one single person really solved the problem independently during the round.

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

    wouldn't that be unfair to some people who spent the round (seeing the first AC at just 9 minutes and thinking there's an easy way somehow) trying to solve it?

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

      Since almost all the people who solved this problem in the early stage were Japanese, I think most people can guess there's an existed problem.

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

    agree I think this question is quite interesting, but I failed to solve it.

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

will it be unrated?

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

I think the quality of problem is lower than average Div1, even not taking account that H is an existed problem.
AB is ok, but at least CDE, almost zero thinking and I feel just asked "do you know this?" for every task.

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

    I dislike DE (D probably shouldn't exist at all), but for some reason, those sorts of problems have been a staple in many recent CF rounds.

    F was really nice. I think it's pretty hard to get in the right direction, but after finding the right direction, the problem becomes simple (according to the scoreboard, I think I wasn't the only one struggling).

    I really shouldn't tried to solve H seriously, I only saw the count on the scoreboard and didn't realize that most submission came from Japan. But this is obviously a skill issue from my side.

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

      I share exactly the opposite opinion of you.

      I really like D (E idk, my solution is weird) and really really dislike F due to the implementation and debugging in a 2 hr round. The problem is very standard assuming you have some ds background and I had mindsolve in 10mins of reading it. For proof you can consider my first submit time difference from E submit time, only minor changes for AC (i mean in itself the implementation is not too bad, but the 2 hr is pretty short)

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

        Finally found someone with same opinion on F. Though I didn't solve it during the contest because I suck at coding, I thought of the solution while reading the statement.

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

        I won't hate a problem just because I choked on implementation, but I guess it's each to their own. For the very standard thing, I don't think the scoreboard proves your argument very well, especially because F is not hard to implement.

        On the other hand, I don't have a math background, but have seen problems like D countless times. This is yet another problem that is easy if you know its dumb, and you just try some cliche-ish solution to solve it.

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

          I dislike it because (IMO) the impl to thinking ratio is large.

          Even if i had first try AC, i would think the same (i was already thinking it when i mindsolved it)

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

    what do you "need to know" for DE? Even C i think is fair.

    Do you count invariants as knowledge now?

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

      I think invariants which can recall in a few second is knowledge.
      Solvable just only recalling past problems are buzzer quiz rather than problemsolving.

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

C Debugging forces (Wrote about 100 lines for the solve function and spent the rest of contest debugging)

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

This was just depressing...

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

How to solve B? What was the idea?

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

    To find the min you must take, you want to consider the worst possible case: taking the max between l[i] and r[i] for each i. Then, you take the next glove, giving you a pair for sure. The worst case further goes as: you keep taking from those colors that have the most remaining, and you do this for the greatest k-1 of them. Then you add 1 more for the final pair.

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

      isint the worst case like : you pull out all shoes which are maximum in number, then those which are 2nd maximum in number... so on?

      in which case the input:

      5 2

      97 59 50 87 36

      95 77 33 13 74

      should give 489 instead of 481??

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

        I see that you're trying to get 97, 95 (already 1 color), 87, 77, 74 then 59. However, obtaining a pair of the last color only requires 1 more pick, so following your line of thinking after 74 you only need 1. But that's not the worst case.

        The worst case is 97, 77, 50, 87, 74 (all colors but no pair until this point). Only after we've picked one side of all colors can we now be sure we'd start forming pairs. Then, 95 (pair in 1 color), and 1 (pair in 2 colors).

        (You could also see the flaw in your "worst case" by considering that we only need a pair of 1 color instead. Then you would only pick 97, and 1 (from 95), which is clearly incorrect as it's unlikely we'd pick the correct color from 1 pick among all the remaining socks).

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

        nvm that was dumb

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

    kind of greedy(my solution). consider the worst scenario, where you get all the gloves in k-1 colors, and get either all the left/right gloves of each remaining color. The answer would be something like $$$\sum_{i=1}^k (l_i+r_i)+\sum_{i=k+1}^n \max(l_i,r_i)+1$$$ The "+1" is to gurantee that even for such worst case, there would still be k pairs of gloves in distinct colors. To maximize the answer mentioned above, just sort the colors, redefining the comparing logic.

    	sort(g+1,g+1+n,[](const node &a,const node &b){
    			return a.l+a.r+max(b.l,b.r)>b.l+b.r+max(a.l,a.r);
    		});
    		for(int i=1;i<k;i++)ans+=g[i].l+g[i].r;
    		for(int i=k;i<=n;i++)ans+=max(g[i].l,g[i].r);
    		++ans;
    

    like this.

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

can anyone explain the intution of c please

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

Nice Complement for this contest. But this is very boring work

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

I had really strong well-known(-in-Japan) vibes from problem H, tried to Ctrl+F on the kenkoooo's website by keyword "XOR", didn't find anything and went to think about F. Although I think I had something on H closer to the end, but not sure yet how far it is from the complete solution

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

can someone please check my submission, and tell why its giving tle.

https://mirror.codeforces.com/contest/2096/submission/316268506

PS. its java.

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

You are anti-arbitrashnik -1000 aura disbalanced problems

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

E is cool. F is very interesting, but couldn't solve

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

Unfortunately, the problem H coincided with an existing problem on another online judge. While this is a kind of situation we strive to avoid, and we do check that the problems couldn't be found on the internet, there's never a guarantee that we can find all similar problems, especially with statements available in other languages only.

We understand that this is not the best competitive experience for many, and therefore we apologize for this coincidence. That being said, I want to reassure you that such rare coincidences are not a valid reason to cancel the round. Therefore, answering some questions in the comments, the round stays rated.

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

    Did you really check?

    Update: this comment was inappropriate and sharp, I apologize for this.

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

      I tried to find problem H on Google during the contest but I didn't find anything. I guess that the search results also depend on your country (e.g., if you are from Japan, you get that problem as one of the first results).

      I'm wondering if anyone outside Japan managed to find that problem without searching specifically on Yukicoder (in that case, I have skill issue).

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

        After noticing most people solved the problems in the very beginning of the contest were Japanese, considering Japanese style resources might be natural? But my first action was to check yosupo OJ for new templates…

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

        I managed to find it by searching specifically on yukicoder, after failing to find it by other means.

        I was switching between searching on google / various online sites and trying to solve the problem, eventually I managed to find it by searching for yukicoder specifically and landing on this page which happened to have this XOR problem.

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

      Let me be more clear on that instead of just randomly ranting: I appreciate the authors' effort to create a contest and present it to us. Making the round unrated does not refrain us from enjoying the problems, but maintains the fairness of CodeForces Rounds. It's not a participant's fault to attend a contest and lose rating due to this kind of mistakes, make the contest unrated, and we can still upsolve in the problemset.

      (Specifically in this case, I'm aware that one of the testers know about similar problems. UPD: I know no one solved H in testing but that's not a contradiction)

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

        It looks like it's me.

        I'm sorry but I completely forgot this problem when I saw it in Apr 8 since I tested in Feb 6 :(

      • »
        »
        »
        »
        12 months ago, hide # ^ |
        Rev. 2  
        Vote: I like it -7 Vote: I do not like it

        someone brought Mike's Blog up again. what he stated were clearly right: we should not blame the authors for such a coincidence, but the ones who commented in the round's blog saying "here are the links"

        this time, no one sent links in the comment sections, participants obeyed the rules, but some lost rating because others passed H. finding who is to blame is not the exact same thing as finding a solution to this incident, nobody made this happen on purpose, but who covers up the consequences it caused?

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

        I'm aware that one of the testers know about similar problems.

        can you provide real evidence for the above (not that they have solved a similiar problem, but that they actually found the coincidences)? Making such big claims about a tester not doing his work without backing it up is a terrible injustice.

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

          He explained in the comments above, and it seems like he just forgot that he had tested it before.

          Timeline: 1. he tested, 2. two months later someone asked him how to solve a problem quite similar to this one, and he replied "I've seen a similar problem before, but I didn't solve it or upsolve it."

          It's not particularly his fault in this case (he's done a bunch of testings over this 2-month period and it's normal to forget a problem having 0 submissions in test contest), but it's just an evidence to show that this problem seems a bit standard and this incident could've been avoided if not for that many coincidences.

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

      It might be helpful when people prepare or test problems? They can refer to more than 100 resources automatically.

      • These are on temporary chats
      • I believe my region settings are set to the UK and there is no bias towards yukicoder or Japanese resources apart from including it in the prompt (there are many other resources, but you can just split them into a number of groups and try on them as much as you want)
      • If you put too much resources on just one chat, it's likely to fail
      • I tried several times and I'd say the probability that it finds the problem is about 50 % in this case
      • I don't think some other problems are as likely to be found in the same way as this is because the problem statement is pretty simple
  • »
    »
    12 months ago, hide # ^ |
     
    Vote: I like it +22 Vote: I do not like it

    and here I was thinking I got plot armour, round becoming unrated when I have a bad contest XD

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

    Yet you'll find numerous ac codes are quite similar to public solutions on yukicoder. Are these entitled to positive delta?

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

    Feel sad for tourist

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

    Is it searchforces?or YuKicodeforces?even googleforces?

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

      Oh,it's originforces. I should search for solution before solving it myself next time.

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

I think H is a good problem only when this question has not appeared before!!!

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

Problem A was harder than expected. Problem B was nice and challenging. Problem C was difficult but extremely amazing and looks completely authentic to me. Unfortunately, I didn't have the time to read more problems. Nice contest!

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

btw why no hacks on D

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

Moral of the contest : make sure to search every problem on google, maybe you will find the exact same problem XD

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

Just by reading the statement, how could one not tell problem H must have appeared elsewhere before? Also, one can immediately tell that it must be well known in Japan since most people who solved it are Japanese. What struck me is that this guy ITIS_DuyAnh managed to solve all the way up to problem F solely using LLMs. It amazes me how strong LLMs have become. Considering that only around 30 participants solved F, it 's only a matter of time until LLMs destroys everyone but LGM's

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

Not that I have any stake in this fight, but I think it's extremely unfair to contestants affected by the duplicated problem H to leave the round rated. I made my case for this position several years ago here and I don't have too much more to add, but it seems fundamentally unfair/contrary to the spirit of competitive programming to decide make rating a function of "who recognizes this preexisting problem", especially when that problem is much better-known/easier to find for people in certain regions of the world.

(I will say that because many contestants spent time attempting H/possibly genuinely solving the problem, I think "remove H, leave the round rated" is worse than unrating the round and probably also worse than leaving the round rated as is.)

  • »
    »
    12 months ago, hide # ^ |
    Rev. 4  
    Vote: I like it +10 Vote: I do not like it

    (I will say that because many contestants spent time attempting H/possibly genuinely solving the problem, I think "remove H, leave the round rated" is worse than unrating the round and probably also worse than leaving the round rated as is.)

    I'm a bit confused as to why you think "remove H, leave the round rated" is "probably worse" than both the other possibilities.

    I think the only contestants for which this possibility is the worst is those who spent time on H without accessing the Yukicoder submissions and eventually solved it. Which I don't think applies to anyone currently in the top 20 anyway.

    (Update) If you solved H by copying, then having the option to unrate the contest for you seems fair:

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

      I think "remove H, leave the round rated" is unfair to people who spent any time on the problem, either attempting to solve it or looking for the problem online (whether or not they succeeded). If H was removed but the round was rated, these people would be disadvantaged vs people who worked only on A-G because they would have effectively had less time to spend on the problems that were not removed from the set.

      More concretely, I think rounds should be unrated when there is an unusual problem with the round that made the rankings unfair to a meaningful number of contestants. Under this framework, the round should be unrated rather than rated with only A-G because rating the round with A-G disadvantages contestants who spent time on H relative to those who didn't.

      I think rating the round without H is worse than rating the round with all problems because it punishes people who successfully searched for the problem when they violated no rule/code of sportsmanship. Conditional on the round being rated in some capacity, we are forced to be unfair to either those who successfully searched for the problem or those who didn't. Up to this point, the precedent is that finding the solution to a problem online is allowed, so zeroing out those solutions seems like the more unfair option to me, though it isn't obvious that this is right.

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

    Another thought: One way making the round unrated or removing H would be unfair is that it changes the rules of the round retrospectively, given that the precedent is not to unrate rounds for duplicated problems. This makes me less confident that unrating this particular round is right--I think the rating outcomes from this round are not reflective of what Codeforces rounds should aim to assess, but it's unfair to people who successfully Googled H to change the rules on them after the round already happened.

    I do feel strongly that in the future, duplicated problems should be considered a reason to unrate a round, and I'd be happy with an outcome in which Codeforces announces that future rounds will be unrated in the case of duplicated problems (whether or not this particular round is unrated).

    Whether or not duplicated problems are a reason to unrate a round meaningfully changes contestants' incentives, so it matters that contestants know whether this is the case before the round. If you know in advance that if there's a duplicate problem, the round will be unrated, then your objective going into a contest is "maximize your expected ranking conditional on there being no duplicated problems", which is different from "maximize your expected ranking". For example, if you knew that if H was duplicated, the round would be unrated, then I think the correct response to seeing a large number of early H solves is to try to solve it without searching the web. In this scenario, if the problem is duplicated the round will be unrated, while if the problem is not duplicated, it must be disproportionately easy; if rounds with duplicated problems are unrated, then you only care about the latter case and should just try to solve the problem. (Comparatively, if duplicated problems are not a reason to unrate the round, the incentive is to search online for a solution because it's vastly more probable that H is Googleable than that H is trivial.)

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

      Am I the one one on here that thought googling was banned? Google is just as bad as GPT in my opinion if it gives the full solution.

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

It's really weird that in problem D, it was not mentioned that n is always odd, and we should know that it is odd by ourselves

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

    Why would they mention it? Do you expect problems to just tell you observations, instead of expecting you to figure them out?

    P.S. The additional constraint in the input section guarantees that the position is reachable from a sequence of operations. This already implicitly says that n is odd.

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

    problem mentioned solution will always exist ... that indirectly puts that constraint I guess.

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

this kinda amazed me, but i managed to find a complete H solution just by providing chatgpt the statement and telling it to find a similar problem, then solve it according to the tutorial (o3 + o4-mini-high): https://chatgpt.com/share/6803ce12-6028-8006-a3b2-6869a64a0a37

316291703

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

Can Anyone Tell me please . When The ratings gonna change ?

What is the rule , the system testing is just finished .

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

About Problem Coincidences (MikeMirzayanov's blog)

https://mirror.codeforces.com/blog/entry/112709

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

    A few thoughts on this blog, which I'm posting here so as not to revive a two-year-old post:

    Who can we blame for this situation? The writer? Most likely, the writer did a lot of work to prepare the round. What can we blame else? The coordinator? Do you really think that a coordinator should remember all 8500 problems from the archive (and, by this logic, 10,000 more from various other sources)? Show me such a person! Oh, you haven't heard of them... Maybe the testers are to blame? Or me personally?

    I don't think unrating a round is an assertion that someone did something wrong. The reason to unrate a round is because leaving it rated would be unfair to the participants, not to punish the authors for some perceived wrongdoing. Much as if e.g. the Codeforces servers had gone down for some time in the middle of the contest, we should unrate rounds in the case of duplicated problems because an unlucky coincidence occurred that made the contest unfair to a meaningful number of participants.

    I’m living in the world of programming competitions for more than 20 years. And I have seen the coincidence of problems, not only on the Internet rounds, but in more serious competitions. It happens. There is only one way to avoid it — do not hold competitions. Stop writing new problems.

    I agree that it's impossible for the fraction of contests with duplicated contests to be zero. Again, it's the same idea as if the Codeforces servers crashed: the only way to never have a round damaged by technical issues is to not host rounds, but that does not imply that technical issues are not a reason to unrate a round. It's completely reasonable that 1% of rounds will accidentally contain duplicated problems and it's also completely reasonable to unrate that 1% of rounds.

    If a participant remembers a wide range of tasks and knows how to put them into practice, that's not a bad skill. Let a small fraction of participants be rewarded for this if such a mishap as a problem coincidence occurs.

    I don't think people actually remember this task; I assume people found it on Google? I also don't think "knowing how to put the old task into practice" is a relevant skill here or in other cases with duplicated problems. There's a difference between understanding how to put an idea you know into practice and just copying code from another occurrence of the exact same problem. I think it's especially unfair that being able to google a problem successfully is correlated with speaking the same language/being of the same nationality where that problem has been posed before; in this case, the problem originally appeared on a Japanese website, significantly disadvantaging contestants who speak other languages and thus are less likely to find it in search results.

    I am strongly against the creation of such a precedent. You can't make a round unrated if unintentionally some problem coincided with some other old problem. It's a road that leads into a swamp. And we may not get out of it.

    I really don't understand what the slippery slope is here. The most charitable way I can think of to interpret this argument is that if having a duplicated problem leads rounds to be unrated, then the definition of what constitutes a "duplicated problem" or the set of reasons to unrate a round might expand over time? I just don't see why that's a likely outcome here, and I think "people might argue to unrate rounds for bad reasons in the future" is not a good reason to refuse to unrate a round for a good reason right now.

    To be clear, I appreciate everything Mike/KAN do for the competitive programming community, and I don't intend this as a personal attack/to pile onto the criticism they receive, some of which is completely unjustified. I just don't think the arguments that have been made for leaving rounds with duplicated problems rated are very compelling, and leaving these rounds rated is unfair to the people directly affected by the inclusion of these problems.

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

      I don't think people actually remember this task;

      Since this problem was from as recently as last December and had a simple problem statement, I think many (probably more than half) of the Japanese participants who got AC remembered that it had appeared on yukicoder, and could find it without using internet search.

      (This comment is not intended to refute your overall opinion.)

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

      It's completely reasonable that 1% of rounds will accidentally contain duplicated problems and it's also completely reasonable to unrate that 1% of rounds

      I think the fraction is a lot higher than 1%. For example, 2081D - MST in Modulo Graph from a Div1 just 2 contests ago had also appeared before (and so has this round's E in hong kong contest).

      Even bigger fraction if you include "practically the same solution after transformation" or weaker/harder versions.

      Often round announcements will have comments about how this problem had appeared in XYZ contest.

      Thus, I don't think its reasonable to unrate round with any repeated problems since that will unrate a very non trivial percentage of contests.

      Maybe it is reasonable to unrate contests where standings have been significantly affected. But as an author, I would definitely feel my efforts got wasted for (almost) no wrong on my part. You may not think so, but I would, and so would most authors I think.

»
12 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
can anybody answer this
»
12 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

Ahh, I did terrible, but I managed to solve C after the round. Interesting problems A,B,C, will look deeper into the rest this weekend.

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

when will the rating be updated?

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

As it is a prized round, tourist deserves justice. Remove those H problem submissions which are suspected and calculate the rating again I hope that would be fair for everyone .

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

I hope problems are easy for me :)

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

So will the round be rated ? If yes when ratings will be updated ?

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

ha ha ha

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

Speedforces round

Am I the only one who got the solution to F and G almost instantly after contest but didn't have time implementing it?

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

Just noticed zhoujiarun0216 in the contest, here is his scoring.

Some days ago he was farming downvotes, so I searched him on the biggest database OIerDB and found that he is much weaker than I thought, yet.

You can see that he managed to solve A and B each in almost 40 minutes, but D in only 9 minutes. That's not weird enough, maybe different thinking orders.

You can see that all of his three submissions have a slight difference in coding styles, some are more compact and some are looser. Also I noticed in A he used single quotes for single character, but double quotes in D.

Compared to his performance in last Div.4, I really doubt him.

I'm not saying that he was cheating, but all the things were too strange — after all, he has a bet of "unblocking the Luogu account if he solves three problems".

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

✨ It took over a year, but it's finally here! ✨

So the group put in so much effort to bring two original questions(Problem E and Problem H)?

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

Two original problems,chat-gptable F,and not unrated?

What are you guys doing???

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

F is my favorite problem in a long while. With all the negativity around H, you deserve props for making a very nice data structure problem.

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

Is there any info about caps for top 500?

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

Hello, I received a notification regarding a possible plagiarism issue for Problem 2096C in Neowise Labs Contest 1. I would like to clarify that I did not cheat or copy anyone's solution. My username is aniru0111, and I believe this was a misunderstanding.

Here are the details of my submissions:

I submitted my first solution in C++ at 21:44, which failed on test case 3.

I tried again in C++ at 21:56, but I didn’t change the compiler settings, so the issue persisted.

Then, I changed the language to Python and submitted again at 21:56, a few seconds later.

The allegedly matching solution (user karani) was submitted in Python at 21:24, around 30 minutes earlier.

Also, karani solved the problem in a single attempt, while I tried it three times with two different languages.

I worked on the problem entirely by myself and did not share or receive code from anyone. If required, I am happy to provide additional details or clarify further. Thank you for your understanding.

— aniru0111

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

Subject: Clarification regarding problem 2096B and reference to well-known glove selection puzzle

Hello Codeforces Team,

I recently received a notification regarding my solution to Problem 2096B (submission ID: 316242031, handle: AmanGuptacd), stating that it significantly coincides with other participants' submissions. I would like to respectfully provide some context and clarification.

I want to emphasize that my solution was written independently during the contest. I have come across and practiced similar problems in the past, and one particularly relevant version is the classic Glove Selection Problem, which is publicly available and discussed widely, for example, in this Reddit post:

The Glove Selection Problem – Reddit r/puzzles

This classic version inspired my thought process — particularly in how to handle glove pairings in a blind or worst-case scenario. The logic of maximizing over one hand and controlling the minimums is a known strategy for such puzzles and is part of the standard repertoire of greedy approaches in competitive programming.

Given the widespread discussion and recognition of this problem type, I believe it is very plausible for multiple participants to arrive at similar conclusions independently, especially under timed conditions.

I have always adhered strictly to the Codeforces rules. I did not use any shared platforms like ideone.com or communicate with others during the contest. All my code is written locally in a secure environment.

Please let me know if any further clarification or proof of similar prior work is required.

Thank you for your time and consideration, AmanGuptacd

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

Deleted Message

»
12 months ago, hide # |
Rev. 6  
Vote: I like it -66 Vote: I do not like it

....

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

L

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

It's time to reveal the secret formula and prize winners!

$ echo "The prizes will be distributed in the following manner.
We consider the best 500 contestants. Let’s call it a set A of contestants.
The best 3 contestants receive Apple Macbook Air M4 13'’. We remove them from set A.
Let S be an empty set of problems.
We repeat the following steps:
1. Let P be a set of problems solved by participants in A and not being in the set S.
2. If P is empty we stop.
3. Let D be the most difficult problem (the last in the list of problems) in P.
4. Let C be the first participant in A who solved D.
5. Participant C receives Apple AirPods Pro 2.
6. We remove C from A, we add D to S." | sha512sum
7b55c594304f082436ee82bc051cf209254c103ef4545a4045c61e5d8340426a8124d8e5b5f1e1da8e534e72c4336255bd0443e5a47e35c03c6dd55ae5cbc1cc  -

In short it's top3 and participants who had solved one of the problems (from hardest to simplest) first with limitation that no one receive more than one present.

Here are winners:

Top3:

  1. maroonrk

  2. BurnedChicken

  3. ksun48

First to solve:

H. kaichou243

G. A_G

F. tourist

E. Benq

D. LMydd0225

C. H1743-322

B. Golovanov399

A. dXqwq

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

Congratulations to the winners! You will be contacted via private message soon with instructions on how to claim your prize.

As usual, we used the following two scripts for generating random winners, seed is the score of the winner.

get_prizes.py
randgen.cpp
List place Contest Rank Name
1 2096 1 maroonrk
2 2096 2 BurnedChicken
3 2096 3 ksun48
4 2096 4 hos.lyric
5 2096 5 tourist
6 2096 6 heuristica
7 2096 7 Benq
8 2096 8 Radewoosh
9 2096 9 zhoukangyang
10 2096 10 maspy
11 2096 11 yuto1115
12 2096 12 ainta
13 2096 13 Z-301
14 2096 14 jiangbowen
15 2096 15 tute7627
16 2096 16 sansen
17 2096 17 potato167
18 2096 18 Rubikun
19 2096 19 Nyaan
20 2096 20 toam
21 2096 21 conqueror_of_tourist
22 2096 22 fuppy
23 2096 23 dXqwq
24 2096 24 Ormlis
25 2096 25 allvik66
26 2096 26 ecnerwala
27 2096 27 taeyeon_ss
28 2096 28 Golovanov399
29 2096 29 jinqihao2026
30 2096 30 cmk666
31 2096 31 lexiyvv
32 2096 32 Forested
33 2096 33 ugly2333
34 2096 34 A_G
35 2096 35 risujiroh
36 2096 36 mtsd
37 2096 37 MYFJCHX
38 2096 38 cn449
39 2096 39 antontrygubO_o
40 2096 40 bronze_coder
41 2096 41 jeroenodb
42 2096 42 Tlatoani
43 2096 43 shiomusubi496
44 2096 44 jtnydv25
45 2096 45 rqoi032
46 2096 46 36champ
47 2096 47 maomao90
48 2096 48 dyppp
49 2096 48 arzhantsev64
50 2096 50 Sorting
52 2096 52 dorijanlendvaj
54 2096 54 gloria_mundi
66 2096 66 Dominater069
78 2096 78 strapple
99 2096 99 Mybuger_OVO
118 2096 117 Noam527
127 2096 127 AlenHsiao
141 2096 141 DAleksa
143 2096 143 EasonTAO
149 2096 149 ltf0501
150 2096 150 endorsi
155 2096 155 Sana
158 2096 158 installb
175 2096 175 kmjp
188 2096 188 Zqr123456
212 2096 212 tiger2005
224 2096 224 Sylphrena
236 2096 236 jhdonghj112
238 2096 238 LeoPro
253 2096 253 sillylittleidiot77
257 2096 257 fishcathu.
265 2096 265 dog_of_Nesraychan
267 2096 266 NickMish
271 2096 270 Noobish_Monk
291 2096 291 Wansur
299 2096 299 SpadeA261
303 2096 303 6ziv
325 2096 325 Mr_Sa3dola
327 2096 327 Tahirliyev
328 2096 328 dyktr_06
329 2096 329 tanaygad
356 2096 356 oqmsac
362 2096 361 jay153
371 2096 371 shishko.av
373 2096 372 enzopsm
388 2096 387 liuxinrang2026
405 2096 404 lotusblume
410 2096 408 Dominion948
417 2096 417 turgon314
424 2096 424 rayany10
427 2096 427 posij118
431 2096 431 xpov1LL
433 2096 433 annyeong1
440 2096 440 geospiza
451 2096 451 thangdz2k7
466 2096 466 is-this-interactive
475 2096 475 FancyBox
485 2096 485 Sofapuden
496 2096 496 kele7
498 2096 498 priyanshu.p