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

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

Hello, Codeforces!

eren__, sweetweasel, and I are glad to invite you to Codeforces Round 1024 (Div. 1) and Codeforces Round 1024 (Div. 2). Both rounds take place at May/11/2025 17:35 (Moscow time), and have a duration of 2 hours and 30 minutes.

The Division 1 contest is made up of $$$6$$$ problems, and the Division 2 contest is also made up of $$$6$$$!

We would like to thank:

This is our first (and hopefully not the last) contest on Codeforces, so we really hope you will like the problems. Don't forget to have fun!

The score distribution of the rounds is as follow:

Division 1:

$$$500 - 1250 - 2000 - 2500 - 3250 - 3750$$$

Division 2:

$$$250 - 500 - 1000 - 1750 - 2500 - 3000$$$


In the end, here’s a behind-the-scenes photo of the authors putting in the effort to bring you a fun round!


UPD1: The contest is now over. Congratulations to the winners!

Div. 1:

  1. Radewoosh

  2. tourist

  3. maspy

  4. Ormlis

  5. rainboy

Div. 2:

  1. 2ky

  2. LuOH3_

  3. Untitled_unrevised

  4. toku4388

  5. Horrible120

UPD2: The Editorial is now out.

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

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

As a tester, I wish the authors would win the IOI.

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

One can confirm by looking at the photo, that the authors are smart and good-looking.

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

As A participant I hope Enjoy.

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

A power of two round can't miss it, the next one will be 1024 rounds later

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

orz

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

as a none tester, I can confirm this contest will be epic

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

This would be my 100th rated round...Excited for this !

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

i hope the round is strong strong

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

misha

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

Yay, my first Div1 contest. I'm so excited!

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

As a participant, I hope solve three questions and become a specialist.

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

As a failed cyan, it's inspirational to see a lot of newbie prodigies AKing the contest I am sure that future of CP is in right hands ...

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

But I don't see 720 problems in the Div 2 round...

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

Wow 1<<10th contest

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

Another opportunity to lose rating!

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

wish to have non-negetive rating change :)

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

I wish to hit pupil :D

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

As a potential participant, 720 problems in Div. 2 is kinda scary. Good thing it's 2:30 and not just 2 hours long.

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

Let's take out our horses for the cowboy round.

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

1024 is a very meaningful number,This contest must be very exciting !!!

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

I used to think top coders were nerds, but the image in the blog changed my mind.

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

EL Classico or this contest? Hmm...

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

My first div 1 :) !

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

Codeforces Round 1<<10!

Looking forward to a Wonderful Round :D

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

I think this is gonna be a speedforces round for Div. 2

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

What score actually is? Is it connected to the problem's rating?

Please don't get me wrong.

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

    The score distribution will be very helpful if you actually care about the details:

    • "Not AC verdict" for test > 1 will cost 50 points. The take away is the smaller the point of a problem is, the heavier WA penalty will be felt (because the minus is constant for every problem).
    • Should I skip problem "x" to solve problem "x+1" with higher score and higher difficulty trade off.

    But I'd suggest you to focused solve problems in order and ignore the hairy details for best practice atm. You might want to revise the details later, once you starting to getting good at it.

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

    Is it forbidden to ask anything if I don't know something? Like, why am I getting dislike just for asking a question?

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

Well. I guess I'm a reverse nutella now.

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

@ of the guy in sunglasses?

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

will i be green ,who cares i am from a warrior race

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

this is the second div 2 in a row where we have 250 on problem A

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

Congurats!It's round 1024!

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

oh! the contest number 10000000000 -__-, i cant wait for it fr <3

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

CF round $$$10^{1010}$$$.

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

nice!

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

let us give this contest 1<<10 upvotes to celebrate nice number for the round.

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

Good luck, guys! I'm sure you've cooked a great contest.

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

I'm gonna cook inshallah

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

As a non tester, i was supposed to test but forgot, wish you a good contest

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

there's 720 problems in the div2???

edit: oops i just realized two people commented this before me... i'm unoriginal :(

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

Round 10000000000 is here!

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

Time to ready my a+b template because A is 250 points

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

Very nice LOL

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

Yeah,finally it's round 1024.And when will round 2048 come

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

Hope to reach 1200+ again!

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

Just out of curiosity, why some rounds have unrated option but this one doesn’t?

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

Thats not the round 1024, thats round 2^10

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

That first photo straight up looks like Dagon's Domain Expansion — ocean vibes , domain expansion pose and all Gotta be Toji Fushiguro to clear it all up with zero cursed energy but max smoke

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

"The Division 1 contest is made up of 6 problems, and the Division 2 contest is also made up of 6!"

Why is the Division 2 contest made up of 720 problems??

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

haha (^_^)

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

Why no div3 contest? Its been quite sometime.

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

good luck

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

from the score distribution of div.2, it seems the speed to solve first three problems would be a major differentiator, and if solved 4th it would give much edge over other participants

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

what problem rating should i expect for the first 3 of div2?

and hope to reach pupil in this contest..

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

First time participating in a 1 << x contest >:)

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

2^10 congratulations!

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

As a participant, seeing Um_nik as a tester means useful algorithms.

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

As a tester, haji ajab cantesti !!!

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

as a tester, i know problem A

and this is the answer of problem A:

cin >> q; while(q -- ){ cin >> n >> m ; cin >> r >> c; cout << max(r — 1 , n — r) + max(c — 1 , m — c) << endl; }

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

Happy round 0b10000000000

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

will manhandle this contest

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

Again 250 score for problem A!

I hope to not get minus on that.

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

Sorry Guys. I will watch El Clásico.

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

Why are the scores so strange today?

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

How long does it usually take for someone to reach candidate master on average? I've been participating in contests since the beginning of 2025, but I feel that I'm still far away :(

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

Hope to solve today's ABC as fast as possible.

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

Lets call this contest "The 10th bit"

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

Failed to start like Mbappe in todays contest...**Hala madrid**

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

aaah!! couldn't solve div2 D... got messed up in case work. is there a simple solution ?

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

    Fill the first $$$n-3$$$ places greedily

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

    I couldn't solve too! I wa on 2 twice.Lastly,I found my solution doesn't completely right

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

    You can sort the even and odd groups by just greedily moving the minimum in the suffix to this position. You know everything is sorted right now except positions n and n-2 because you couldn't do the greedy strategy on them. If n and n-2 weren't in sorted positions (in their group) you know that group has 1 inversion and the other group has 0 inversions. Otherwise, you know both groups have 0 inversions. Notice when you're doing the swaps, the relative parity of the inversions in both groups never change. If they're different parities, they will always be different parities. If they're the same parity they will always be the same parity. So, if they have the same parity initially, you can never get 1 inversion in 1 and 0 in the other (the only possible choice is 0 inversions in both even and odd group). If they're different you can never get 0 inversions in both.

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

      oh I see... I think I get some idea.. thanks for sharing this.

      In the end I think whole trick was can you sort those last two elements or not.. and I think your idea is a very simple way to figure that out.

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

guessForces in C... no idea why spiral printing starting at center passed pretest LMAO.

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

    we would want 0 to be present in most of the subgrids as any subgrid without it would mex to 0, therefore we put 0 at the centre as this pos has the most occurrence of among all. now comes 1, we would like to put 1 such that the subgrid containing 1 and 0 are maximised, this would be subgrid 0 1, now comes 2 ,now we want number of subgrids containing 0 1 2 to be maximised, this can be achieved by enclosing 0 1 2 in a 2*2 grid, using this logic we can prove why spiral printing was the optimum sol'n.

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

      oh wow.. I think this makes sense.. so it was kind of for any cell count how many subgrids this is going to be part of .. sort it .. and then put number in reverse order or something.

      whoa thank you for sharing this .. I am sad that I didn't get any ideas for this.

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

    Didn't think of spiral printing specifically, but that example input, even for n = 3, was a massive hint.

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

guess work=accepted in C for me

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

first time I've seen a nice constructive problem :O

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

Great problems. Thanks

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

Can someone please explain C , i thought 0 should come in middle and 1 should always follow it
but kept getting wrong answer on pretest 2

this was my try :319285532

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

how to do div1C?

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

Instantly borrowed my own code at problem 2036D - I Love 1543 and saved implementation time at div2C.

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

why make us think so much in problem div2 A, we want to be happy while starting the contest please

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

who else skipped C to solve D and then stuck at D and lose a lots of points ...

any second i felt im closer to answer of D but stuck after 1hr, realized i could solve C in less than 10 minute...

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

Can someone give a hint for problem E?

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

What does the author wants to test by giving problems like Div 2 C .......

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

    I personally find it a nice problem.. It was intuitive to have a spiral matrix because that's how MEX would be maximised. Though; it also took me long time and various other guesses to come up to the idea..

    And this is not a coding test but a problem solving contest (nothing to be tested by the author). So, author wants to make an interesting problem not the one testing knowledge.. That's why guess work is also crucial at times !!

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

    guessing abilities T_T

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

Why do you announce results even though it is before systests xD?

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

hello, how can i improve to solve the problems? im new here

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

in d we have to guess two numbers a[n-2],a[n](for 1 based insex) still i can't guess skill issue, LOL,and meanwhile in C i guess up to 500*500 correct no's

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

constructiveforces

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

C was the worst problem I have ever solved.

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

where tutorials?

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

plz make a contest where shit newbies like me can ALSO SOLVE SOME PROBLEMS,,,,LIKE WTH WAS A?

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

Fun fact: the solution of 1693D - Decinc Dividing gets Wrong answer on test 2 in 2101D - Mani and Segments.

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

i was SOO distracted i +1 A and B :sob: but in the end i think i did alright, great contest!

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

In B of div1 and D of div2 why is my submission failing, i try to get the smallest number to front, and then recursively keep making the array smaller and smaller until no more operations are possible, I want to know my mistake before seeing the editorials answer.

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

how come we have winner list before system tests have finished ?

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

I wrote 3.24KiB for 1C :(

How did you solve this problem?

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

Congratulations Radewoosh for AKing + Winning !!!

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

I like the problems, quality is standard div1 level.

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

One of the best CF problemsets I've seen in a while, huge congrats to the authors! <3

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

D глина, еле заслал

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

I was able to understand exactly what I needed to do in the first 4 questions to get A correct ans but sadly, I was only able to implement the first 2.

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

How to D

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

Ama go volunteer back in the army cause WTF is the solution for Div 1 C lol?

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

What is the intended time complexity for Div1E? I implemented $$$O(N \sqrt{N} \log{N})$$$ solution with sqrt decomposition but narrowly TLE, so I think that there may be more efficient solution.

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

I was able to solve problem B but not A.. Can someone please help with problem A!!

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

    Think of this, say n is not divisible by p, now the sum of the entire grid would be (n/p)*q plus the sum of remaining n%p elements. You can clearly see we can achieve any sum of n is not divisible by p by having desired values of last n%p elements . Now take the case when n is completely divisible by p, here we don't have a choice, is (n/p)*q doesn't add up to m we cannot possible get this sum, as here we don't have the freedome to assign values to last n%p elements.

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

    Notice that the constraint on the segment sum essentially means that the values loop throughout the array over a period of p.

    Now, if n is not divisible by p, there will be only part of that loop (segment) at the end, which can carry the total sum to m, and the rest of the segment can compensate and bring the segment sum to q, so it's always YES. If n is divisible by p, then you don't have that extra flexibility, and the segment sum times number of segments must match the total sum. In other words, YES if q*(n/p)=m and NO otherwise.

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

My first time reaching the 1st page of the final standings omg

I'm so happy

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

    I don't mean to be mean but how does a guy with best perf top 1700 do ABCDF? There's no way you didn't use AI / do account sharing

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

      ABCD are all not really hard and at least 1000 participants worked them out, right?

      As for F, I don't think AI is so boring to make this silly solution actually, this is just simple binary search. If you want more details what have I thought:

      First, I found that all the cute subarrays has partial order under the inclusion relation. So in this case, one may notice that it's only needed to search all the maximal cute subarrays, using two-pointers.

      Second, still the property of partial order, you can use binary search to find the maximum right border when fixing the left border.

      After finding these 2 properties, I tried binary search. After passed the examples, I tried $$$n = 200'000$$$ random shuffled permutation (you may notice that there's a comment in main() that used freopen). But it resulted TLE. All the next things I did is just try something that may speed up, like recording low high array to speed up the inserting process, still using binary search for the deletion process. And it just happened that it worked, I can't even believing why it worked lol

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

You can see 319236013 clearly states // Extra vector added to reduce plagiarism.

Ban shubh1211

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

1C is much harder than 1D and 1F. that makes me have no time to solve 1F

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

I finished debugging my E one minute post-contest and it passed... :(

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

Nice round over all!

Thanks to the all the staff who helps to hold this round.

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

Guessforces on C, went with pure instinct and it worked :)

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

Is ternary search nlog^2n is one of the intended solutions for 1C? Then why the harsh time limit, I'm so tilted rn

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

Eyyy!! +60 for solving 3/6! Yeah!

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

Read 1D as 1693D, worked on it for 1.5h, and finally wrote the full code, until realizing I've read it wrong.

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

I really liked the contest! Even if I wasn't able to finish my solution for Problem D (I'm still somewhat slow programming, and I had to look for the code to compute the sign of a permutation after contest) I found it very interesting. Probably the type of contest I would like to see more as a math student haha.

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

first time I've seen a nice constructive problem :O , It was worth timespending

BTW orz Radewoosh rainboy

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

I have used an ai tool to generate code for printing spiral matrix for div2-C. I am not sure if it's within the guidelines. I got the logic by myself then i used an ai tool to write the code for spiral matrix.

Its mentioned here that If you're unsure whether a particular AI use violates the rules, please consult the competition organizers.

I want to know if this use is permitted or not.

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

    It is scrictly forbidden to use AI during a live contest for any purpose,all accounts for plagiarism

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

    That probably counts as cheating. There is a world of difference between boilerplate code for IO (that just gets the input in a manageable form for the algorithm) than using it for the implementation of the algorithm itself.

    Seeing at you submissions, it took you 30min to submit your first wrong program for C, after which you used AI (as you said in your comment) to get a correct implementation. Seeing that you found the implementation of your solution a challenge, you cannot argue that it's just meaningless boilerplate code. This is Competitive Programming, not Competitive Thinking: even though it's important to find the correct algorithm(s), finding a way of implementing them in a concise and fast way is part of the challenge. Using AI for that is, thus, cheating.

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

      @janelle_m my first WA was not due to a incorrect implementation as you have said, it was because of incorrect logic. I intended to print a completely different matrix. After WA, i found the issue in my logic and then corrected it. For even n, i dont know why but i thought the index which will be present in maximum sub-matrix will be the corner one and sadly it passed for n =2.

      Q. Is it ok to search for method to find gcd(a, b) during live contests?

      if yes then me using ai to write me a code of spiral matrix with 0 at the center should not be considered as cheating. Printing a spiral matrix is not a new thing, and code for this is publicly available. Anyways lets wait for the judgement of cheat detection thing.

      Although i am still not sure if its actually allowed or not, but its safe to not use AI in competition for anything, cause you dont know where the line is.

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

Here is a solution for Div1C / Div2E, which uses trenary search (seems to be alternative approach to what most people used).

Let k be the amount of distinct numbers in resulting array b. I.e. all numbers in b will be in [1, k] range.
For a known value of k the greedy algorithm can be used. Iterate i = k, k - 1, ..., 1 (i.e. downwards). At each step, use leftmost j1 and rightmost j2 elements which have a[j1] <= i and a[j2] <= i. It can be done in O(N*logN) using priority queues or a set.

To find optimal k, ternary search can be used. Submission: https://mirror.codeforces.com/contest/2102/submission/319299542

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

Just found a Random hustler the-raja who gave todays contest just for fun ,and above that he proudly boasts about in on his linkedin ,when I asked him about his apporach in D ,he replied with an AI generated response . The guy's post link on linkedin

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

Bashed 1D with sqrt + bitset: 319301576. I had like 6 bugs, so I didn't make it to the time...

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

I have $$$O(n)$$$ solution for D1.

Observation: if $$$p[1...n]$$$ is cute, then $$$p[1...{n-1}]$$$ and $$$p[2...n]$$$ are cute as well. So, we can use two-pointers to calculate intervals $$$(i, r_i)$$$, where $$$(i, r_i)$$$ is the longest cute subarray starting at $$$i$$$.

To do so, we have to maintain LIS and LDS in deque (to simulate two pointers), but notice that $$$(i, r_i)$$$ is cute, meaning that LIS + LDS $$$ = r_i - i + 2$$$ (this fact simplifies problem).

Since, we only considering cute subarrays adding $$$p_j$$$ to the back of the deque is easy, since LIS or LDS must extend by element $$$p_j$$$, and non-extending longest subsequence can only change its last element.

Deleting $$$p_i$$$ from the front of the deque is a bit harder, since it is possible for $$$p_i$$$ to be a beginning for both LIS and LDS. In this case, we can proof that after erasing $$$p_i$$$ we always can extend LIS/LDS in the front by the first element of LDS/LIS.

And the last case occurs when LIS = 1 or LDS = 1 (but not at the same time), in this situation the one having single element must change it to the last element of the other one.

My solution: 319304301

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

    I have a different $$$O(n)$$$ solution for 2101D - Mani and Segments.

    • $$$[l, r]$$$ is cute if and only if there exists $$$m$$$ such that all the elements in $$$[l, m]$$$ are either suffix minimums or suffix maximums, and all the elements in $$$[m, r]$$$ are either prefix minimums or prefix maximums. In this case, $$$m$$$ appears in both the LIS and the LDS, and the other elements appear in one of them.
    • For each $$$i$$$, find the maximum $$$m$$$ such that $$$i$$$ is either the suffix minimum or the suffix maximum of $$$[i, m]$$$.
    • Then, for each $$$m$$$, find the minimum $$$l$$$ and the maximum $$$r$$$.
    • Then, for each $$$l$$$, find the maximum $$$r$$$.

    All this is possible using next greater element and prefix / suffix min / max. My submission (319283002) is $$$O(n \log n)$$$ because I calculate next greater element with a set, but it can be optimized to $$$O(n)$$$ with a stack.

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

It seems like there is quite a large variance in judging time that can happen; during pretests my solution for C passed in 3840 ms, in system testing it got TLE on test 9, right after system testing finished i submitted it 2 more times and it got TLE on test 9 both times, now i submitted it again and it got AC in 3718 ms. A variance of 50 ms is something I'd expect but I had no idea there could be a difference of over 300 ms...

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

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

For 1B, I forgot to use long longs for counting inversions but it still ACed because overflow preserves parity :)

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

Got wrong answer on Div1A due to wrong Spiral Printing Code on GeeksForGeeks. Somehow it prints the correct matrix for n = 2 and 3 (the sample test cases), and gives ridiculous output on n = 4 :(

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

Here are some of the top cheaters : [2ky], [LuOH3_] . Know more??? Add them to the list — justice awaits...

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

From today for me if CF-A==250 then it's a signal

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

When is editorial coming out

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

For div1C, is $$$O(nlog^2n)$$$ not allowed? I realized we can do it in $$$O(nlogn)$$$, but this $$$O(nlog^2n)$$$ submission passes in 4.5s while the time limit was set to 4s.

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

When solutions?

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

solution plz ToT

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

Spent almost two hour to IMPLEMENT Div2 C... this recall me some interview questions

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

Dear Codeforces, Hello, I am jitesh66, and my solution (ID: 319249391) for problem 2102C has been flagged for similarity with another user's submission.

I want to firmly state that this is completely my original work. The logic used — spiral traversal of a 2D array — is a well-known and standard technique. It's quite natural for different participants to arrive at similar-looking implementations when solving such problems, especially when the approach is straightforward and commonly used.

It is deeply concerning that such a basic and commonly taught method has been flagged as a violation. Just because two people wrote similar code for a standard idea doesn’t mean either one copied the other. How can it be assumed that I didn’t write my own code, especially when there’s no evidence of any unfair activity from my side? Even the editorial suggests spiral traversal, and I independently figured out and coded the logic on my own.

I did not collaborate, copy, or leak any part of my code. If similarities exist, they stem from the nature of the problem and the algorithm required to solve it — not from any violation.

I request a fair and thorough review of this case. Penalizing users for applying standard techniques undermines the spirit of the competition.

Thank you.

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

All three of my problems for this contest have been skipped. I literally handwrote all the code and thought about the logic, investing a lot of time in it. My multiple solutions were incorrect on pretest 2, which I further debugged myself. Why were these solutions skipped? It undermines the effort I put in, and in return, I am told I copied someone else's code. Moreover, I received a notification for my problem C, but all of my codes have been skipped. It makes sense that, given the nature of problem C, implementing a spiral matrix can turn out to be a standard code; hence, it can be flagged, which is again incorrect but somewhat understandable. However, skipping the other two problems too literally makes no sense to me; that is a really wrong decision.

Kindly look into the matter. I have genuinely tried to perform well, and I don't want to be flagged as a user for no reason.

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

Hello Codeforces team, I recently received a notification that my solution to problem 2102C (submission ID: 319280419, handle: samuka7abrr) was flagged for similarity to others. I want to sincerely apologize. I did not copy or share my code with anyone, but I now realize that discussing the solution logic with friends during the contest was a mistake. At the time, I didn’t fully understand that even this kind of discussion goes against the rules. I deeply respect the Codeforces platform and its community, and I truly regret this lapse in judgment. I’ve learned from this experience and will make sure it never happens again. I kindly ask for your understanding in reviewing my case. Thank you for your time and for maintaining the integrity of the contests.

— samuka7abrr

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

    Just to clarify, the friend I mentioned was not a participant in this round and did not make any submission. His Codeforces handle is: JoaoGenaro11. We only discussed the idea briefly, and no code was shared in any form. I now fully understand that even that level of interaction during a contest is discouraged, and I’ll make sure to strictly follow the rules from now on. Thank you again for your attention.

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

hey i am kind of new in cf so can you tell me if this is contest violation, i used the spiral traversal logic which is kind of well known from gfg and got flagged for that, can i not use any online source in contests. I don't know if you can call that as cheating, i just wanna know then i will refrain from using online sources as well.

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

Dear Codeforces team,

I have received a system message indicating that my solution (ID: 319262165 for Problem 2102C) significantly coincides with many others. I would like to respectfully clarify that I did not engage in any form of malpractice, code sharing, or plagiarism during the contest.

I used my own knowledge and followed a standard approach to solve the problem. Any similarity might be due to common logic or standard patterns used by many participants for this type of problem.

To be fully transparent, I occasionally use OneCompiler (an online compiler) to test and debug my code privately. It is visible in my browser history, but I want to emphasize that it was used solely for checking my own logic — not for accessing or sharing any external code.

Additionally, one of my consistent coding habits is using English-Hindi mixed variable names in my solutions. This is a personal convention that reflects my individual style and supports the fact that I wrote the code myself.

To further support my case, here are screenshots of my browser history during the contest, showing I was active only on Codeforces and OneCompiler: - Screenshot 1 - Screenshot 2

Handle: Manan_Joshi
Solution ID: 319262165

I kindly request you to review my case. I deeply value the Codeforces community and its integrity, and I assure you I participated fairly and honestly.

Thank you for your time and understanding.

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

Three legendary coder for all time...

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

Happy

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

Dear MikeMirzayanov and Codeforces Team,

I am writing to respectfully appeal the plagiarism verdict associated with my submission for 2102C - Mex in the Grid . My submission ID is 319271152.

I am writing to respectfully and sincerely assert that my submission in question is entirely my own independent work. I fully support Codeforces’ commitment to fair play and understand the importance of protecting the integrity of competitive programming. However, I genuinely believe that the similarity detection in this case has resulted in a misunderstanding, and I kindly request a careful review of my situation.

The approach I used spiral traversal of a 2D matrix is a well-known, classical algorithmic pattern. It is extensively discussed in programming lectures, tutorials, and competitive programming problem sets. After constructing the matrix in a spiral order, I simply reversed the values to ensure the grid values were arranged from n^2-1 down to 0, aiming to maximize the sum of MEX values across all subgrids . Given the structure of this particular problem and the constraints provided, this technique naturally suggests itself as a logical and efficient solution path. It is entirely reasonable that multiple participants, independently working through the problem under contest pressure, might arrive at similar solutions when employing a widely used technique.

I want to emphasize, with utmost honesty, that I developed my solution independently during the contest. At no point did I copy, share, or receive code from anyone. I did not use any public or external IDEs, and I maintained the contest's spirit of integrity throughout. To further support this, I would like to highlight my submission timeline:

Problem B submitted at 20:35 (UTC+5.5)

Problem C submitted at 21:36 (UTC+5.5)

The one-hour gap clearly reflects the time and effort I invested in understanding and crafting the logic for Problem C on my own. This was not a hurried or opportunistic submission but the result of genuine, independent work. I humbly ask the team to consider the broader context — that similarity in structure does not imply dishonesty when dealing with a canonical algorithm.

I sincerely hope the team can re-examine this case with understanding and reinstate my submission. Thank you very much for your time, fairness, and consideration.

With respect,

SANDIPAN_KUNDU

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

Dear Codeforces, Hello, I am deepiit.gupta, and my solution (ID: 319251371) for problem 2102C has been flagged for similarity with another user's submission.

I want to firmly state that this is completely my original work. The logic used — spiral traversal of a 2D array — is a well-known and standard technique which also has a question on leetcode (problem — 59) . It's quite natural for different participants to arrive at similar-looking implementations when solving such problems, especially when the approach is straightforward and commonly used.

I did not collaborate, copy, or leak any part of my code. If similarities exist, they stem from the nature of the problem and the algorithm required to solve it — not from any violation.

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

Regarding Plagiarism Flag on Submission 319255450 (Handle: Athk_0312)

Hi Codeforces Team,

I'm writing about the plagiarism verdict on my submission 319255450 for Problem C from Round 1024 (Div. 2). My handle is Athk_0312.

I want to clarify that I didn’t copy anyone’s code or cheat in any way during the contest. The solution just involved filling the matrix in spiral order, which is a very common pattern. In fact, it's the same approach used in well-known problems like Leetcode 59 (Spiral Matrix II), so it's quite natural for different people to come up with very similar-looking code.

Since the logic is straightforward and widely known, it's likely that my code ended up looking similar to others. But I can assure you it was completely my own work.

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

Regarding Plagiarism Flag on Submission 319274770 (Handle: agrawalheyramb)

Hello Codeforces team and reviewers,

I am Heyramb Agrawal (handle — agrawalheyramb), and my submisssion for Probblem C (Mex in the grid) is flagged for plagerism. I firmly believe that this is false positive, as I independently wrote the solution on my own. This problem can be easily solved using the standard spiral traversal of matrix. In fact, I had previously solved the spiral-matrix problem on LeetCode, which clearly predates the contest.

I am also attaching link and screenshot of my previous LeetCode solution of spiral matrix traversal. Link to Leetcode problem Screenshot of my leetcode solution

I humbly request the codeforces team to reconsider this flag.

[user:agrawalheyramb][submission:319274770][problem:C Mex in the grid][contest:2102]

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

Subject: Clarification Regarding Solution 319263520 for Problem 2102C

Dear Codeforces Team,

I hope this message finds you well. I recently received a notice regarding my submission (ID: 319263520) for problem 2102C, which is said to significantly coincide with another solution.

I would like to clarify that I did not copy any code. The approach I used is a well-known and standard method for filling a spiral matrix, which is also commonly used in LeetCode Problem 59 (“Spiral Matrix II”). Given the nature of the problem, it is likely that multiple independent implementations may appear similar in structure and logic.

I assure you that my solution was written independently. I kindly request you to reconsider the plagiarism flag, taking into account that the approach is based on a widely known algorithm.

Thank you for your time and understanding.

My Handle : Suryxnshu

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

By Recognizing the pattern for the problem 2102C in the div 2 round for the above mentioned contest, I found that the problem can be solved using the the concept of spiral traversal of a matrix. Being a student, I have just learned this algorithm from a very renowned educator Striver, I am a regular student of his DSA A2Z course, When I saw the problem 2102C, and found that I can use the code of spiral traversal of a matrix. I just wrote down that similar code, which I have already submitted on LeetCode for the problem: _https://leetcode.com/problems/spiral-matrix/description/_ on 29th of January of this year, much before the start of this contest, also the same code has been discussed in a YouTube video(_https://youtu.be/3Zv-s9UUrFM?si=Brj83eeQyN5L8buC_), and its code is also available on a public website (_https://takeuforward.org/data-structure/spiral-traversal-of-matrix/_), I could only say that whatever I have done can also be done by someone's else, I would request the higher authorities, to please look into the matter and understand this is a coincidence not a rule violation, some other unknown individual can also submit that code as it is publicly available and its video tutorial is also there.
My LeetCode solution:https://leetcode.com/problems/spiral-matrix/submissions/1523615991/

2102C][CONTEST:2102][SUBMISSION:319272738 - Mex in the Grid

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

...

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

three legendary coder in the world for all time...!

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

Subject: Clarification on Solution 319260324 for Problem 2102C

Dear Codeforces Team,

I hope this message finds you well. I recently received a notice regarding my submission (ID: 319260324) for problem 2102C, which is said to significantly coincide with another solution.

Regarding this ,I would like to clarify that I did not copy any code. After i got the idea that we should take the elements in a spiral, I took that code template from GFG.. This is the reference — _ https://www.geeksforgeeks.org/print-a-given-matrix-in-spiral-form/_ i just modified a bit and submitted this. The approach I used is a well-known and standard method for filling a spiral matrix, which is also commonly used in LeetCode Problem (I practiced it while solving Takeyouforward sheet).

I assure you that my solution was written independently. I kindly request you to reconsider the plagiarism flag, taking into account that the approach is based on a widely known algorithm.

Thank you for your time and understanding.

My Handle : "_Hadwik_"

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

eren__ can you share the checker code for d1A, Mex in the Grid

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

    Read the function f.

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

Dear Codeforces Team,

I recently received a message stating that my solution for problem 2102C (submission ID: 319263905) was flagged due to significant similarity with other users' submissions. I would like to respectfully clarify that I did not copy or share my code with anyone.

The problem in question requires filling a matrix in a spiral order and then transforming the values in a simple manner. This is a classic and standard approach used widely in competitive programming. As a result, many solutions will naturally look similar — especially in logic and structure — even if independently written. The use of standard spiral traversal with four boundaries (top, bottom, left, right) and directional loops is the most straightforward and efficient method to solve such problems.

My code was written entirely on my own. I understand the rules against plagiarism and take them seriously. I kindly request that you review my explanation and reconsider any penalties.

Thank you for your time and understanding.

Sincerely, Pranav_006

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

idk why is codeforces not conducting any contests further, i have been checking the contests page daily, but i do not see any further contests.

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

Dear contest organizers, I submitted one entry for Question 1, which failed a test case 1 , resulting in a rating decrease. Could you please review this matter?

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

Dear Codeforces, Hello, I am BitPopper, and my solution 319243570 for problem 2102C has been flagged for similarity with another user's submission.

This is a simple problem and we just needed to print the spiral matrix from inward to outwar. It is a standard problem to print the matrix in spiral form from outward to inward which is availiable on GFG and then we just needed to invert those by subtracting from n^2 which is a standard approach.I also created my own totalMex function to test out my earlier approach answer (it was based on sorting by manhattan distance) which gave wrong answer and then i went with spiral one. You can also see in my comments i have tested the test cases with that function.

I did not use ai or anything, you can also see i got wrong on A which was due to a missed =, as well as i solved D also. Please look into this

Thank you.