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

Автор SanguineChameleon, 12 месяцев назад, По-английски

✨ 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
  • Проголосовать: нравится
  • +14
  • Проголосовать: не нравится

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

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

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

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

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

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

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

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

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

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

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

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

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

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

yayy, contest with vietnamese problemsetters

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

i hope the problems are strong strong :)

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

Hope to get back in Cyan

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

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

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

Hope to reach 1400+

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

hope to reach CM

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

Vietnamese assemble!

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

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

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

As a participant, I hope I can reach GM.

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

interesting!

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

orz Um_nik

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

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

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

Hope we will enjoy the contest !!

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

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

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

dm contest vn

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

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

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

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

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

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

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

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

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

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

i wish interactive problem is not beyond d

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

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

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

hope to reach cyan this time

also this contest is so orz

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

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

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

Hope to reach 1200+ rating

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

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

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

participant, +ve!

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

back after 6 months

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

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

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

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

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

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

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

BRUHH I GOT -VE

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

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

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

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

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

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

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

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

.

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

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

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

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

will it be unrated?

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

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

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

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

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

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

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

hello div2 my old friend ;-;

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

Problem H is same as Interval XOR.

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

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

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

        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 месяцев назад, скрыть # ^ |
          Rev. 2  
          Проголосовать: нравится +21 Проголосовать: не нравится

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

        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 месяцев назад, скрыть # ^ |
          Rev. 2  
          Проголосовать: нравится -39 Проголосовать: не нравится

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

            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 месяцев назад, скрыть # ^ |
              Rev. 4  
              Проголосовать: нравится -11 Проголосовать: не нравится

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

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

Was B very intuitive to you guys?

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

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

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

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

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

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

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

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

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

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

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

speedforces :/

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

What is the test 2 in C?

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

what's wrong in my code?

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

So interesting especially div2d, enjoying new switch puzzle:)

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

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

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

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

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

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

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

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

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

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

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

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

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится
Problem C WA Test 2
) I love this website
»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +169 Проголосовать: не нравится

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

GIGI MENTIONED!!!!!

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

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

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

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

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

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

will it be unrated?

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

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 месяцев назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +50 Проголосовать: не нравится

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

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

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

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

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

    Do you count invariants as knowledge now?

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

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

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

This was just depressing...

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

How to solve B? What was the idea?

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

    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 месяцев назад, скрыть # ^ |
      Rev. 2  
      Проголосовать: нравится 0 Проголосовать: не нравится

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

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

        nvm that was dumb

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

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

can anyone explain the intution of c please

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

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

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

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

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

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

PS. its java.

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

You are anti-arbitrashnik -1000 aura disbalanced problems

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

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

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

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 месяцев назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +157 Проголосовать: не нравится

    Did you really check?

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

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

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

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

        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 месяцев назад, скрыть # ^ |
      Rev. 2  
      Проголосовать: нравится +31 Проголосовать: не нравится

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

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

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

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

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

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

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

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

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

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

    Feel sad for tourist

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

    Is it searchforces?or YuKicodeforces?even googleforces?

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

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

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

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

btw why no hacks on D

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

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

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

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

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 месяцев назад, скрыть # ^ |
    Rev. 4  
    Проголосовать: нравится +10 Проголосовать: не нравится

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

      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 месяцев назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится 0 Проголосовать: не нравится

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

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

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

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

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

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

About Problem Coincidences (MikeMirzayanov's blog)

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

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

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

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

      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 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
can anybody answer this
»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

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

when will the rating be updated?

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

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

I hope problems are easy for me :)

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

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

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

ha ha ha

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

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

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

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

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

What are you guys doing???

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

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

Is there any info about caps for top 500?

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

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

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

Deleted Message

»
12 месяцев назад, скрыть # |
Rev. 6  
Проголосовать: нравится -66 Проголосовать: не нравится

....

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

L

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

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

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