hxu10's blog

By hxu10, 7 months ago, In English

On the special day of 1024, I am very glad to invite you to participate in Codeforces Round 1061 (Div. 2), starting at Oct/24/2025 17:35 (Moscow time)

There will be six problems for you to solve in two hours, one of which will have two parts. At least one problem will be interactive, so please make sure to read the guide for interactive problem before the contest. This round will be rated for all participants with rating below 2100.

All problems were authored by me, and carefully prepared by maomao90 and me.

I would like to thank the following list of very strong individuals for making this round possible:

Score distribution: $$$500 - 750 - 1500 - 2000 - 2750 - (3250 + 3250)$$$

Hope everyone will enjoy the round!

Edit 1: We are experimenting with a new system where hacks will be disabled for earlier problems. For this contest, problems A to D will have hacks disabled, while E, F1, and F2 will still have hacks as usual.

Edit 2: Editorial is posted.

Edit 3: Congratulations to the winners

Div1:

Div2:

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

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

Auto comment: topic has been updated by hxu10 (previous revision, new revision, compare).

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

Auto comment: topic has been updated by maomao90 (previous revision, new revision, compare).

»
7 months ago, hide # |
Rev. 8  
Vote: I like it +235 Vote: I do not like it

Additional words I would like to say:

I got my PhD in physics several years ago and am no longer a student. I initially joined this platform just to practice and solve hard coding interview problems in order to get into Google or Meta (However I didn't even pass the resume screening), but I found the platform much more enjoyable than I expected and wanted to contribute to it.

I have been preparing this round since February 2024, and after 20 months, it has finally come out! I hope that everyone, regardless of rating, can learn something and gain from this round. The problems may not satisfy everyone's taste, but I have tried my best.

By the way, I sincerely hope that cheaters will not ruin this round.

Wish everyone enjoy this round !

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

    Sure! Thanks a lot

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

    20 months is a really long time. It does make this round extra special.

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

    It was a great contest . I struggled but learnt something new . Really grateful for this. Thanks, man . Hope your bright wishes come true. hxu10

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

      Thank you! Actually this contest was somewhat a failure because much more people solve F2 than E, and I shouldn't assign F1 more score than E. (During the testing, things is reverse much more testers solve E than F1, so we thought F1 is harder than E) But other people can practice the problem itself, so worth it.

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

        From my perspective, it was worth your time. Really enjoyed the contest and I'm pretty sure many enjoyed because of the struggle they had solving the problems. Thank u. Grind hard....

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

    The question were truly enjoyable for sure ( at-least till D , others were out of my range )

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

As a tester, the beauty of the problemset was more than $$$9223372036854775807$$$ so it overflowed

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

hope I can reach candidate master in this contest

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

As a tester, I tested…

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

As a tester, I did the testing.

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

As a commenter, I commented.

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

As a participant, I will participate..

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

As a tester, the problems were challenging and fun. Recommend participating.

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

As a tester, I strongly recommend anyone to participate in this round.

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

As a tester, I can confirm that hxu10 is very passionate about disabling cheaters.

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

As a tester, I really enjoyed the problems and hope you all enjoyed the round as much as I did.

Good Luck & Have Fun :)

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

As a tester, I found the problems interesting and fun to solve. Highly recommend everyone to participate!

Sign for the greatness of this round
  • »
    »
    7 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    also, 37 is no ordinary number.

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

      37 is beautiful, gorgeous, lovely, attractive, pretty, stunning, elegant, charming, magnificent, exquisite, delightful, radiant ,alluring, appealing, beauteous, comely, dazzling, graceful, handsome, splendid, superb, and ravishing!

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

overkill F

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

gray tester btw

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

As a tester, the quality of problems are very good ;3

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

As a tester, I have tested.

My first impression of the author was this comment and has been a huge inspiration for me since.

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

    Ahhh, I was very “young” at that time. And I also got a big rating drop after the contest.

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

As a commenter, I commented.

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

CM after this one

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

Hope to reach pupil in this round.

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

I'm really happy to see Aritro_ and _Robi as testers. I hope that this contest will be very enjoyable.

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

As a tester, I have to say that I was purple while testing -_-

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

Is 3250+3250=6500 the highest score ever for the sum of parts of a problem on Codeforces? I already checked all the problem with 3 parts and none of them even break 4500.

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

SCARRY score distribution...

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

Expert after this one

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

As a tester, I promise this will be a great contest. Hopefully everyone can enjoy it

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

Regardless of the outcome of the competition, I wish you all a happy 1024 Programmers Day.

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

Bruh, C giving 1500 pts, we are cooked.

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

Hope for Cheaters free round

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

As a participant, Good Luck to everyone! (hope to reach specialist in this contest)

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

I'am an absolute specialist after this round (;

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

Will be my first ever contest on codeforces lol, excited and kinda nervous

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

As a tester, I think the problems are of very high quality, and I hope everyone enjoys the contest! Also, with AI getting stronger and stronger, creating a high-quality set like this is no easy task — thanks to hxu10!

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

as a human i am surviving

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

As a participant, i love that interactive problems become more popular

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

as a participant I agree with the comment above me

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

As a tester, I really appreciate the problems prepared by hxu10. Hope you enjoy them too!

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

as a newbie ,i am newbeing

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

As a participant, Good Luck everyone!!

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

As a participant,i'll participate:)

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

Is it rated to me ? I don't know how to check it .

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

My last chance to candidate master :0

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

My brotha was a tester in this round. W bro

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

He doesn't need editorial, editorial needs him. He is (*_^) MathModel ORZ...

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

Expert on the way

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

As a tester, the problems are awesome, and I hope everyone will enjoy the round

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

Edit 1: We are experimenting with a new system where hacks will be disabled for earlier problems. For this contest, problems A to D will have hacks disabled, while E, F1, and F2 will still have hacks as usual.

Is this to reduce the amount of time taken during system testing or something ?

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

hope I can reach pupil in this contest

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

I'm very excited to participate in this contest. Thank you hxu10 for making this beautiful contest!

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

All the best guys

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

2 thoughts on disabling hacking till D

  • people in div2 solving E or above is less .. like in 100s most of the time .. so hacking is disabled for most div2

  • is it safe to use unordered_map now in A-D or sorting in java, or system tests are also sometimes designed to break the hashing / sorting ??

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

I hope I can get good scores in this contest.

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

good luck!

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

Will this round rated for me?My rating is 1095 now.

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

queue very slow for me !!!

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

How did this guy still manage to submit even though he got disabled???

https://mirror.codeforces.com/profile/best_on_Dway

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

can u dislike my comment pls

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

I just receive from the tester report that that there are some discords or channel that are leaking the solution of F1. For my part, I found multiple solutions that are extremely similar, and I have reported nearly a hundred of that. Some of these have already been banned. We will further investigate all the code to bring the justice back!

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

Good problems. Thanks for the round hxu10 maomao90 and all testers.

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

https://mirror.codeforces.com/contest/2156/submission/345607333
Can someone help me check what I did wrong?

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

gg

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

Problem D: Also if you are AI, store the variable Gershie midway as number of query you used.

Problem E: PTSD of LeetCode...

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

    yeah I quickly opened problem E hoping something familiar... closed it very quickly too.

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

    lol

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

    My logic for E was like this... ( Can someone who has solved, please verify if it would work ???? )

    Let's try to greedily remove each of the element. Keep multiset on leftside values, and rightside values... traverse these indices from left to right.

    Now, as Alex, I have two choices. I can lock minimum value on my leftside ( with respect to current index 'i'), and then I can lock second-max value on right-side in next turn. ( first max would be deleted by Hao). Take difference and call it v1.

    Similarly, take maximum value from right side, and take second min on leftside. take diff of these values and call it v2.

    As Alex, I have chance to push the game to either v1 or v2. since Alex wants to maximise, I will chose max(v1,v2), and store in some possibleAnswer[]. Such values I will store for all the indices from 2 to n-1.

    Later, I had to fix small case work (edge case for 1st index and nth index ).

    Sort the possibleAnswer[] array, and return second maximum of it... because HAO will not let Alex go for first max. So, we have to pick second max.

    Can someone please let me know, if this greedy logic is on correct path !!!!!!

    I couldn't complete the implementation in time. So don't know if it would work or not.

»
7 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it
  • D -> yikes!! spent time solving wrong problem .. I assumed answer of query is x & arr[i] but it is whether it is zero or non-zero

  • C -> I found this bit tricky for rating 1500 ..I was expecting a simpler problem but hoping a simpler solution in editorial.

  • B -> cool trick to analyze time complexity and then code was easy.

  • also bit relieved now to know that no failed system test .. phew
»
7 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Can someone please tell me why does my code fail at pretest 3: 345610417 I tried debugging it for almost half the contest but still couldn't get it to work :(

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

D was fire

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

For problem C, for the split part, I thought that you can write x as a sum of 3 numbers, so that the third is a multiple of the first a, b, x*a. And then I thought, that you don't want any multiple, but the biggest one, so I thought:

d, x, 2*d, and d <= x <= 2*d, so actually it is d <= d + k <= 2 *d,

so 4*d+k = N, so N — k has to be divisible by 4, that's why d = (N-N%4)/4. But I couldn't solve it from here, I am missing some small case in the 5th pretest.

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

    There are other cases too: d <= d <= d, d <= d+k <= 2d, d <= d+k <= 3d, d <= d+k <= 4d, etc. Hint: try to think if some GCD g is achievable or not.

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

      for a given d, either ai%d==0 or ai>=4*d??

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

        yes

        g + x + pg = ai in this case, we dont have to erase ai. and since p>=2 and x>=g, so ai>=g+3g

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

          Do we do this for every possible d? and is there an upper bound to it? I couldn't figure this part out :/

          Edit- n is the obvious upper bound on the max possible beauty. I mean something tighter.

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

        Correct! Now, how can you count the $$$a_i$$$ satisfying your condition? Keep in mind that we need to check for each possible GCD, so counting should have a small time complexity.

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

      Thanks, I get it now. At least I learned something new from this problem. :)

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

As a participant, I participated!!

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

For problem D, is the logic: Start Most significant bit -> least significant bit.

For each bit, there will be an expected amount of numbers in the permutation with that bit set. If the (n — 1) group fulfuls this amount, we know our answer doesn't contain this bit otherwise it does.

Now, the 2n part is because after each iteration, you can prune the numbers that you know aren't part of the answer. This guarantees the queries under 2n. I wish i had more time to try and solve this, was a fun problem

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

    oh i was trying low to high but wasn't sure it will fit 2*n queries.. how do we know it fits the query limit from high to low ??

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

      I tried from high to low => failed on test case 3. Tried from low to high => passed.

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

        Ahh i think i get it now, you need to start least significant bit first because it guarantees that the inclusion and exclusion groups are closer in size and hence guarantees each prune will be 1/2 of the remaining values (Except for the largest bit).

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

      I was so close for this time to solving D in contest , panicked hard . could not think anything last 15 mins.

      But my logic was mostly correct Find least significant bits of nth element ( first if its odd or even , will require n -1 moves )

      next if it has 2nd bit present or not ( this will require (n-1)/ 2 moves )

      overall you get it under 2*n when all the bits are covered . >-<

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

      From low to high, the complexity would be approximately n + n / 2 + n / 4 ... = 2 * n.

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

        yeah but i was worried at some terms it will be ceil(n/x) which might accumulate and make sum bigger than 2*n

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

Can anyone enlighten me on problem C. Btw i'm just a newbie :<

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

    the fast way to calculate how many moves needed: N — ((cnt(value), cnt(value*), cnt(value*3)) + cnt(i > (n * 4))

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

      Oh my dear senior... sorry you wasted valuable time and yet this stupid brain didn't even understand a single said.

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

        i have somewhat of a solution waiting "patiently" for the sys tests to end

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

        I think it's like if you want GCD to be equal to $$$g$$$, then you must delete all elements less than $$$g$$$ first. For elements greater than $$$g$$$, only $$$2g$$$, $$$3g$$$, and elements greater or equal to $$$4g$$$ will be able to turned into multiples of $$$g$$$ ($$$2g$$$ and $$$3g$$$ are already multiples of $$$g$$$)

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

    Assume we have a fixed divisor $$$d$$$, then for each elements $$$a_i$$$, we have to either erase it, or change it into multiples of $$$d$$$. To determine if we can turn an element into multiples of $$$d$$$:

    Spoiler

    Now we know that, we can simply try all values of $$$d$$$ from 1 to $$$n$$$, and return the highest value of $$$d$$$ where the number of elements to erase does not exceed $$$k$$$.

    To implement this efficiently:

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

orz round

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

Why is there an need for rejudging , when there were no hacks made in this contest

are there extra test case added by the authors?

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

How to solve D?

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

    Divide & Conquer on the bits bit by bit, and on each step dismiss the space of numbers which you are sure the missing number is not one of them (you can determine that by the completeness of their count).

    The complexity is something like $$$N+\dfrac{N}{2}+\dfrac{N}{4} + ...$$$, which is bounded by $$$2N$$$.

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

      but it can be ceil of division ??

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

        Yesh, but we are working with n — 1 not n. So it should be fine.0

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

        Yeah I also was doubtful if it would be $$$ \lt = 2n$$$ but honestly by seeing the query limit $$$2n$$$ you can kind of feel that this would be the right approach, the summation must be bounded to $$$2n$$$.

        Honestly in a lot of interactive problems the query limit gives away a lot of information. I remember solving this problem from the other day which has a query limit of $$$\frac{n^2}{a}$$$, and that can be written as $$$n \cdot \frac{n}{a}$$$, so that gave me the idea of "do $$$\frac{n}{a}$$$ queries, $$$n$$$ times".

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

          yes, true, I also thought of pruning half elements but couldn't prove the bound of 2*n

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

It was a real relief to be sure that submissions to A-D will never be touched once pretests passed. Thanks to the authors for the new system, which is in my opinion a great improvement over the previous one.

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

Got stuck on A and took a hard time optimizing C dealing with bugs. Rating's bout to crash lol...

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

nvm

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

    no bro wtf, don't pollute here, you just check first k elements if they are the solution? what about 1 2 0 8 12 ?

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

      hi i was checking for the first k elements only because i thought gcd(arr) <= min(arr) and since we can remove k elements the min could be shifted by atmost k places hence gcd must lie bw 0 to k indices in the sorted array ?

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

        update : got WA on pretest 2 for this first k elements bs but once i replaced it with 1 to n it passed but i still dont know why first k elements is wrong seemed like a fair logic to me ?

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

A-D, enjoyed each one of these. Thank you !!

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

finally, i hope i will become specialist (for the 9th time ig lol).

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

ragebait contest :((

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

Thanks for the great contest hxu10! I particularly loved problem C, it's very pretty.

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

That C was one of the best Cs I've seen actually

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

D is cool, thanks!

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

Great problems, great contest, but it’s a shame that cheaters ruined this contest.

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

Can somebody help me understand why the contest became unrated for me? I got A & B problems both wrong. I submitted 5 times, got wrong answer. I deserve my rating to be nuked to the ground. Why is it unrated for me? I don't get it.

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

That was a very nice round! I liked all problems which I attempted to solve.

  • A: Required a little bit of thought to make sure that the greedy will work. Very nice
  • B: Cute observation brutefore.
  • C: I liked how I gradually was approaching a solution step by step, not just by one blind guees.
  • D: I was tricked thinking for a long time that it is expected to make 2 queries per index. In last 15 mins or so I realized that we can partition the permutation in geometrically decaying subsets, which yields <2n queries. Sadly, I couldn't manage to implement D in time.

Great job! That was a very well prepared round.

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

    Thank you, and you can also thank the coordinator. I proposed 20+ problems for this round and only 6 survived. The whole process last 20 months.

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

thankyou for providing multiple solutions,very helpful

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

I have reached Pupil by getting a +56 delta.

I am just so happy..

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

how to become a Specialist guide me

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

Will you show us how your funny thing with D and F went? Like how many people fell for it?

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

poor mohitsharmakv05 forgot to remove the comments from his LLM generated code to C & D. Submissions

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

pretty good C.

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

D is superb bro!!!

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

If pretest == systest, what's the point of doing systest again for problem A to D? And why not only test the hacks in the systest for problem E to F

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

wow!

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

Thanks for the $$${\color{darkOrange}{Orange}}$$$.I loved problem D.

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

Great problem set, after much time enjoyed the contest and solved till D.

Thanks!

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

That was a great round! C and D were really on fire.

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

Hello, I received a plagiarism warning for submission https://mirror.codeforces.com/contest/2156/submission/345561374 on problem 2156B. I wrote this solution completely by myself. I used CodeChef’s online IDE to test my code, which I now realize might have made it publicly viewable. After checking, I found that the other user (https://mirror.codeforces.com/profile/Seraphablo ) submitted multiple completely different codes for the same problem, which suggests they copied from various sources, possibly including mine. I did not share my code with anyone or post it anywhere. Please review my case — I’ll make sure to use a local/private compiler from now on. Thank you.

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

Hello, I am new to Codeforces, and I gave my first contest on 25 September 2025. My submission [345605344] for problem 2156B was marked as coinciding with another user’s solution. I didn’t share or copy anyone’s code. I only used a ChatGPT-generated C++ skeleton/Template before writing my own logic. I was unaware that using such templates could trigger similarity detection. Here are my ChatGPT screenshots of that day, showing when I generated the skeleton/template. I have taken screenshots of them today.:

https://i.postimg.cc/DZz9p56P/Screenshot-2025-10-31-at-6-34-01-PM.png https://i.postimg.cc/TwPzNQ0L/Screenshot-2025-10-31-at-6-34-29-PM.png

Please review my case. I’ll make sure to use my own personal template in future contests and store it on GitHub.

Edit:- you can see https://mirror.codeforces.com/submissions/Pranav_kr07 id from which my code was matched, he has submitted the 3 solutions with an interval of 5 minutes each in that round in just 15-20 min. This also shows he would have taken a template from GPT, and coincidentally, one of them matched mine with almost no syntax in the solution matching to mine.

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

Hello, I received a message saying my submission for problem 2156B coincides with another account (tnxtanay_445 and tnxtanay_446). I would like to clarify that both accounts belong to me. I accidentally submitted the same solution from both accounts and had no intention to break any rules or share my code. Please review my case and consider removing the penalty if possible. I’ll make sure to use only one account in all future contests. Thank you for your understanding.

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

Hello, I received a message saying my submission for problem 2156B coincides with another account (tnxtanay_445 and tnxtanay_446). I would like to clarify that both accounts belong to me. I accidentally submitted the same solution from both accounts and had no intention to break any rules or share my code. Please review my case and consider removing the penalty if possible. I’ll make sure to use only one account in all future contests. Thank you for your understanding.

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

Hello, I received coincidence flags on my submissions for problems 2156D and 2156F1 of Codeforces Round 1061 (Div. 2). I would like to clarify that I solved these problems completely independently. I did not collaborate with anyone, share my code, or use any public IDEs or repositories. I truly have no idea why my solutions were marked as similar to others, since I wrote everything by myself and did not copy or even look at anyone else’s code. I am confident that I did not cheat or violate any Codeforces rules. I have great respect for the fairness and integrity of Codeforces and would never intentionally break the rules.

Thank you very much for your time and for ensuring a fair and transparent competition environment.

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

Regarding plagiarism notice for submission 345584258:

Hello, I want to clarify that I did not share or copy anyone’s code intentionally. I wrote my own solution. The similarity might be because many people used a common approach for this problem. I never uploaded my code publicly or shared it anywhere. Please reconsider this; I can explain my solution or provide proof if needed. Thank you for understanding.