misteg168's blog

By misteg168, history, 6 months ago, In English

Hola Codeforces!

We are really excited to invite you to participate in Codeforces Round #1093 (Div. 1) and Codeforces Round #1093 (Div. 2), which will be held on Apr/13/2026 17:35 (Moscow time).

For division 1, you will be given 2 hours to solve 5 problems, for division 2, you will be given 2 hours to solve 6 problems. Note that at least one of the problems will be divided into subtasks. Furthermore, at least one problem may be interactive, so please read the guide for interactive problems if you are not familiar with them.

The scoring distribution will be announced later.

The problems were authored and prepared by misteg168, danx, rlidon2006, and Misuki.

We would really like to thank the following people for making this round possible:

244mhq for his orz coordination and support throughout the round, and also for the Russian translation.

A_G, dinohaur, zltzlt, omeganot, IceKnight1093, fishy15, ub33, awang11, Justinshao, Pablo-No, FelixMP, madlogic, pandaa73, chromate00, IceSerpent, Lucia_Aparicio, aniervs, and Kalufas for testing the round and providing priceless feedback.

MikeMirzayanov and KAN for the great platforms Codeforces and Polygon.

And finally, You, for participating!

We wish you all an exciting experience. Good luck and have fun!

UPD1 Scoring distribution:

div2 500-1000-1500-(1000+1000)+2500+3000

div1 500-(750+500)-1750-2250-3000

UPD2 Spain's Olympiad in Informatics:

This round was based on the Spanish Olympiad in Informatics, which took place last weekend. Thanks to all contributors!

UPD3 Editorial is out

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

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

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

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

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

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

Hope this round will not unrated

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

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

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

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

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

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

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

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

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

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

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

As a cute Pig,Hope everyone can enjoy the contest.

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

hope ts dont get unrated lol

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

As a tester, I'm still dyslexic

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

As a yiren, wish to become specialist in this round.

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

As a future paticipant, I'm a big fan of Misuki

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

Hoping this round should not be unrated.

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

Hope it will not be unrated again......

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

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

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

Please don't get unrated this time........

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

please dont be unrated please dont be unrated please dont be unrated

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

Why there are 8 "auto comments" ?

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

    It's me updating testers list and noticing that the round will be at 16:35 only in CET but there is a whole world apart from central Europe.

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

looking forward to the contest

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

Hope the problems dont get leaked this time

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

Hope this will go well. Excited to attend.

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

I wish this a best alternative for THUPC.

Just show what a fantastic rated div1/div2 contest should be like

show not leaking contest problems is a very easy thing

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

Will it be unrated?

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

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

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

From the scoring distribution perspective, why does it feel easier to get into div1 than div2?

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

I think the interactive problem will be divided into subtasks.

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

Finally a rated contest ! ^_^

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

My first official participation in a D1 contest. Boooooi Im scared

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

I don't know why, but I think this round will be more fun..

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

Why this contest has such a slow judge? :/ I had to waited for like 10+ minutes just to see the verdict of my submission :<

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

queueforces.

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

Oh Well...

Queueforces again.

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

inf queue time

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

Seeing 66 Queries for easy version — Thank you for your generosity, kind sir

Seeing 33 Queries for Hard version — Dammn you that is basically the same thing!!!

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

    I don't want to classify anything to a bucket or standardise, but whenever you see such things in interactive problems, 99% times it is the Binary Search & DAC (Divide & Conquer) coming to the play.

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

I loved problem D in div 2 and then i saw standings of div 1,so MANYYYYY cheaters

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

    Because the problem itself has so many layers with each being a tough nut to crack. The mathematical interpretation of query response was the soul of the problem. Then even if you have figured out, you need to go phase-wise and write a clean solution to isolate the indices. I am still flabbergasted by the fact that 1100+ contestants in total have figured this out.

    Pro Tip To Solve The Problem
  • »
    »
    6 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    what might be the rating of div2 D ?

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

div1 is cooked, so many cheaters in top 100

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

I guess authors give Div1 problems to Div2 users

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

It's really a big problem not being able to see why div.2 D is WA on test 1. But it doesn't matter, I don't need it.

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

so we had, guessforces, unratedforces, queue forces, this week has been crazy.

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

what sol'n to div2d1 takes up 66 queries?For most soln to div2d1 itself was 33 queries

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

    Yeah. It was a jebait. You can make a solution that looks at pairs of answers to complementary sets, but it actually incorporates the whole idea from the full solution (look at parity of size-answer) so it's kinda pointless. It allows people to do random shit more if they don't know the 3log solution, but the full problem would be easier without the subtask.

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

    If you query a subarray and its complement (all indices except the ones in our subarray), we can check the difference to their answers to infer that if the special number occurring thrice is somehow split up between these two. Therefore you require 2logn to find one of the special numbers. I still don't get the solution to D2, I guess I have to try a bit more...

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

Div2C is certified "guessforces" classic

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

    I don't know when did solving a Diophantine Equation become part of guessing? You can't blame a problem to be ad-hoc or guesswork if you don't know the formal proof of it.

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

      yeah i did bring it to (2n + 1)(2m + 1) = 2a + 4b + 1 and then find pair of (n, m) but afterwards to check if (n, m) satisfied, i just think about the very weak condition and surprisingly pass all the test (yes i don't know how to proof it then)

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

        It's not a weak condition. It is very evident that one of the segments is L-shaped as well and it won't give us 2q unit segments directly since, they can only be rotated and not broken into pieces.

        They share one horizontal and one vertical segment. So, it becomes pretty obvious that max. no. of such segments should be <= both H and V. We can compensate the buffer using p segments, and if it doesn't satisfy, we would never be able to fit all the pieces into our N * M grid. I hope this helps you.

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

    can you give some hint

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

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

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

When I first read Div2B, I only need 3 minutes to implement it, then spent more than an hour debugging it. Still pass pretests tho. "I'm sure it'll pass system tests".

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

Wasted 45 min on $$$B$$$, finally guessed something and it passed. Tried some math factorization on $$$C$$$, WA on test 1. Lot of cheaters on $$$C$$$?

Pure torture for 2 hours.

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

Why mostly cheater are Indian? I don't want to be racist but it's fact. Specially I saw.Irisqwq, div1, obviously like a cheater.

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

    its cause there exists a culture of academic dishonesty among students. When a parent forces their child to do something they don't actually want they try to find any way out. Then the dishonesty spreads like a virus. If you know someone else cheated and got ahead of you, you become envious and do it too.

»
6 months ago, hide # |
← Rev. 5  
Vote: I like it 0 Vote: I do not like it

Did anyone try solving Div. 2 D1 with

spoiler

?

I did

spoiler

. Unfortunately, my solution gives TLE on the second test. I would be grateful for any advice on the matter.

Printing

spoiler

shouldn't take that long, right?

UPD. The bug has been found. Thanks no_oneplb. There was an issue with my

spoiler

.

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

//-\\ wish get +15 min to duration

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

I got MLE on Div.1 D, although my solution costs $$$O(n \log n)$$$ in both time and memory.

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

After some time i ended up directly with the 33 queries solution with 3 binary searches. What was the intended 66 queries solution?

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

    You don't query for the complement, right?

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

      No, why would I? My approach was looking for parity switch. If you write down K as the size of a prefix to be queried and x as the response, you see that they have the same parity up until the 3rd repetition from the answer (z). You can bs this.

      Eg

      a = 1 2 3 1 2 3 1 4 4 5 5

      k = 1 2 3 4 5 6 7 8 9 10 11

      x = 1 2 3 2 1 0 0 1 0 1 0

      Remember x(i) = query(1..i)

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

    There is a solution with 44 queries where to find the last one you check (l,mid) < (l+1,mid).

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

I just figured out C, 1 min after the contest ended, feels sooo bad.

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

D2 is very cute. After you figure out how to find the rightmost index with triple frequency in O(log), you can "shift" it to position 0 and find the middle one and leftmost one with the same binary search.

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

bro the code for Div1D is too long for 2h CF.

I coded for more than 50mins and passed the sample 5mins after the contest

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

Hardest B I saw till now.

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

    For me, it's kinda easy. You just need to check if there are any subarrays with length more than $$$m$$$ so that every index of the subarrays is the same. If there is one, print No, or else, print Yes.

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

      Can you explain why it works?

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

        Actually you need to check if there are any subarrays with length greater than or equal to m. If yes, you cannot move past that segment at all. consider m = 2 and we have subarray 1 1 1. so you wait in x=1. subarray turns 0 0 0. now you go to pos 1, subarray again becomes 1 1 1. The next time you try to move, it will again become all zeroes hence not possible to cross this segment. Even if the segment was 1 1, you would not have been able to cross the segment.

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

      I agree, but I found this div a bit complicated.

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

Any Tips for Problems like B.

Where they given clocks and you can reset the times

every second you have choices.

I could not solve earlier problems as well for example — https://codeforces.me/problemset/problem/2062/B.

Any help is appreciated how to approach these kind of problems.

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

    You can think of it as, its always better to enter position i when its value is 1 as it give you maximum time to stay on that position without moving.

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

    I think you want to think in terms of "invariants" or insights that you can discover.

    These 2 are really helpful:

    1. If 2 adjacent positions have different starting times, then you can always find a way to move safely between the 2 positions.

    ^ given the knowledge from (1) now we know we only need to worry about positions with the same starting times. Then you can play around and discover:

    1. If m adjacent positions have same starting times, you cannot enter this region safely since you'll hit a 0.

    Thus just check if there are any sequences of same start >= m length

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

      gotcha thank you. i initially thought about if two elements are different, but it was taking time hence i moved to c.

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

Div.1 A is too hard.

Feel like an Ad-hoc forces.

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

    I feel AB are more on the adhoc side, CD were more standardish? And E I feel it is insane that some people solved what took us a lot of time in 2h.

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

Sorry for my feedback being all negative:

Overall: Please use $$$1$$$ instead of 1 when it makes sense.

Div1A: The statement is really informal. It does not mention what is grid or anything about overlapping.

Div1B: Please do not silently change the constraints. / I got trouble at WA1 with no information (my bad...)

Div1D: The statement is really informal: the variables actually change in an input and they depend on each other complicatedly. / The problem itself is boring, observation <<< implementation.

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

Hope this round will not rated

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

I mean, D1 is unnecessary. I also feel like the same idea is repeated in a lot of interactives.

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

    I mean you can find a handful of interactive problems not using Binary Search in any form. I remember a couple of number theory based or brute force interactive problems other than problems involving Binary Search.

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

It is sad that I opened the complete problemset too early, and saw that n=2000 in B(in hacks) , and try hard to optimize my solution from 36 queries to 33, and there weren't clarifications. After a while I noticed that n=1000 in statement, and after I refresh the statement they all become n=1000. It wastes me about ~20min time.

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

    Sorry for it. I didn't do clarification, because it was changed in the beginning of the contest and was only in hacks section (input had n <= 1000 constraint from the beginning). Next time I will do clarification for all changes in the statement, that might affect participants.

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

Why greedy fails in div1-C/div2-E? 371027291

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

    Not entirely sure, but I feel like its because you can force a node to become red and it would, improve the expected operations for a lot of other nodes. Tried the greedy with a pq and failed (WA 5) For those that solved it, was it some kind of rerooting tree dp?

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

      I solved it by just repeatedly picking the one with the lowest value of $$$\frac{degree[node]}{(ct[node]*(ct[node] + 1))}$$$ where $$$ct[node]$$$ is the count of red neighbors but I think most people used dp

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

        why is it correct?

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

        how on earth does that work?

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

        Given 2 black nodes connected by an edge you should first pick the one with the lowest value of the mentioned formula. After that I guessed the solution but got screwed on custom comparator logic.

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

          ok but how does one come up with a formula like that?

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

            If you are constantly attacking a node the Expected turn to turn red is total_neighbors/red_neighbors = tn/rn. If one of the neighbors of node u is colored black then expected value changes from tn/rn to tn/(rn+1). Whose difference is 1/(rn*(rn+1)).

  • »
    »
    6 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it
    8
    00011111
    1 2
    1 3
    1 4
    1 5
    1 6
    2 7
    2 8
    

    It is more optimized to choose 1 first(60%) than 2(66.67%).

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

Can any one give me a hint or something about Div2 B ? I couldn' solve in during contest

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

Div1 C was such a greedy bait.

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

    Can you give me a hint or something about Div2 B ? I couldn' solve in during contest. How should I approach this? I solved a good number of problems but still not able solve B generally. What should I do???

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

    I will take this as a compliment.

»
6 months ago, hide # |
← Rev. 28  
Vote: I like it 0 Vote: I do not like it

.

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

Why is task B split in 2 subtasks? The only solution which I found that uses 66 queries and can't be quickly optimised to 33 queries is much more complex than the full solution of B2.

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

I did first 2 in 25 minutes then cannot solve any. can anyone give me hint for problem C (div2). I was thinking of converting the unit lengths to L shaped as well and then making a valid n*n just from the L shaped total available lengths (2-> 1*1,6-> 2*2,12-> 3*3 and so on) the I just need to arrange the leftovers in a valid manner.

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

    the total number of segments in an $$$n \times m$$$ grid is $$$n(m + 1) + (n + 1)m = p + 2q$$$.

    $$$2nm + n + m = p + 2q$$$

    $$$4nm + 2n + 2m + 1 = 2p + 4q + 1$$$

    $$$(n + 1)(m + 1) = 2p + 4q + 1$$$

    So there are a few possible pairs $$$(n, m)$$$ to try. To verify if a pair passes, simply count the number of horizontal and vertical segments, L shape uses one of both, so $$$\min(hor, ver) \ge q$$$ is neccessary. You can also guess that it's sufficient (during the contest I couldn't find the proof fast, but the pictures in samples made me believe this fact).

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

Maybe one of my dumbest moments yet, but I realize now I could've literally just submitted my D1 solution for D2. I thought n <= 1e4 instead of 1e3, so I thought my 3logn sol would've used too many queries.

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

Do you confirm that the problemset has not leaked since the onsite contest?

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

User @ChatGPT4.0 is illegal, I can't understand why he is still not banned.

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

    Now that Div 1 has been invaded, will be interesting to see how codeforces attempts to combat cheaters. Just need one smart person to build an algorithm, then do a sweep through the past two years, and recalculate all results imo. The algorithm at a minimum should be able to exist in the future to catch people today. :)

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

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

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

☠️☠️☠️

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

    It's easy to solve after contest, because everybody can cheat or copy paste other's solutions.

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

      There’s no need to risk being criticized by showing off how you cheated on a problem that few people have solved, because it’s very easy to verify. But it seems some people prefer making irresponsible and cynical remarks rather than offering well-founded skepticism. I hope you can apply that same evasive wisdom to every competition you take part in from now on.

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

      It's easier to accuse others of cheating than to verify it yourself.

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

Worst Contest ever for ksun48, tourist, ecnerwala, Petr :(

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

How can I report a user for cheating?

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

I've found that for Div1B (i.e. Div2D), if your program exited abnormally before answer all testcases, you will get a verdict WA instead of RE(See 371038871 and 371039177), which makes it nearly impossible to get a RE verdict, is this a correct feature of an interactor?

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

    As it happens, most interactive problems on codeforces work like that (well, at least in my experience). I remember there was a div 1 where I wasted 5 submissions because none of my asserts seemed to raise RTE, until I made the hypothesis that RTEs are not guaranteed and got AC.

    So its safer to assume that RTEs just won't get logged...

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

Dude the rank 1 for this contest directly jumped from expert to Master, completely skipped CM. How XO

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

Hello Codeforces, I have attempted to write a formal-ish proof for Div 2B, I am not 100% sure if it makes sense, but I hope someone can take a look and see if they understand it, thanks!

Submission with proof in comments

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

so tuff

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

why ~~~~~ p+2q=m(n+1)+n(m+1) ~~~~~ in 2219/A?

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

    You are given $$$p$$$ unit length segments and $$$q$$$ two length segments (L shaped). Each of the $$$q$$$ L shaped segment contribute $$$2$$$ segments to the grid and each of the $$$p$$$ unit length segments contribute only $$$1$$$ to the grid. Hence we get $$$p+2\cdot q$$$.

    Now consider $$$m=2,n=2$$$. How many string are there? $$$3\cdot 2\cdot 2=12$$$. Hence it is easy to see total segments in a grid is $$$m(n+1)+n(m+1)$$$ and this cna be solved using SFFT to factorize and we have solved the diophantine equation

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

great

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

yay expert!

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

editorial?

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

sus ahh div 2 B 370985385

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

Can you help me solve problem C? I feel like my approach is wrong, but I don’t understand why.

My idea is that we can always think of the grid as a 1 * n grid. Based on that, I came up with the following process:

If (one % 2 == 1 && l % 2 == 1), then both are odd. So I reduce 3 from l and 1 from one, which makes both values even. After doing this, we effectively form a 1 * 2 grid. From there, I assume the remaining part can always be handled, since the leftover l contributes l / 2.

Then, I think that if one % 4 == 0, it will contribute one / 4; otherwise, it is not possible. This is because, as far as I can visualize, this seems like the only way to construct it. There might be other ways, but ultimately I feel everything reduces to this logic.

Also, if l % 2 == 1, we can reduce l by 1 and one by 2, and then everything aligns similarly. We can repeat the same process again. Basically, each time l is odd, we apply similar steps.

I don’t have a formal proof for this—I just tested a few cases and arrived at this idea. If anyone can point out where this approach is wrong or provide a correct way to think about it, it would really help.

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

Since when have Hector and Gustavo been friends?

Maybe this is before the Max Arciniega incident.

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

Hope this round will not unrated.

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

misteg168 MikeMirzayanov , Dear Codeforces i am writing regarding my submissions in Codeforces Round 1093 (Div. 2), specifically for Problem A. Due to some confusion with different compiler settings at the time of submission, I ended up submitting the same solution twice for the problem A-Blocked. Both submissions contain same code, but unfortunately, one of them was marked as Skipped.

I sincerely request you to kindly review the situation and, if possible, remove the skipped submission from my record. This was an unintentional mistake, and I would be very grateful for your consideration.

Submissions:

370969636 -> compiler:C++23 (GCC 14-64, msys2)

370966387 -> compiler:C++17 (GCC 7-32)

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

Hi MikeMirzayanov misteg168,

My account lcb9021 was suspended due to similarity on submission 370979771 (2220D2). I already emailed an appeal on Apr 17 but cannot log in to check site messages.

Could you please preserve and verify PM logs between my account and the matched account [OTHER_HANDLE], and advise on the status of my appeal? I can provide local timestamps and other evidence upon request.

Thank you for your help. — lcb9021, contact: [email protected]