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

Автор AquaMoon, история, 5 лет назад, По-английски

Hello, Codeforces!

I'm glad to invite you to Codeforces Round 732 (Div. 1) and Codeforces Round 732 (Div. 2), which will be held on Jul/11/2021 17:05 (Moscow time). Note the unusual start time of the round.

The round will be rated for both divisions. Each division will have 6 problems and 2.5 hours to solve them. There may or may not be an interactive problem, so I suggest you should read the guide for interactive problems.

All problems were written and prepared by CoupDeGrace, kuangbin, mejiamejia, Sugar_fan, Melacau, Nanako, GOATWU, Cirno_9baka, Suiseiseki, ODT, box, Ynoi, syh0313, wh0816 and me.

And thanks to QAQAutoMaton, gamegame, starusc, interestingLSY, chenkuowen, JianfengZhu, Monogon, ijxjdjd, Schwarzenegger, sunsiyu, Nezzar, bkbtpout, TheOneYouWant, gyz_gyz, kimoyami, njupt_lyy, ptd, coderz189, manik.jain, absi2011, gyh20, errorgorn, antontrygubO_o, oolimry, zhangzx123, wxhtzdy, tribute_to_Ukraine_2022, SonDinh, triple__a, Pecco, AzusaCat, dorijanlendvaj, Imakf, Falashiro, kartikeyasri23 for testing and good advice, isaf27 for his excellent round coordination and help with preparation and MikeMirzayanov for great systems Codeforces and Polygon.And you, for participating!

This is my first round ever. Great efforts have been put in during the past six months. We are sincerely looking forward to your participation. We hope everyone will enjoy it.

Good luck!

UPD1: Here's the score distribution:

Div 1: 500 — 1000 — 1500 — 2250 — (2000+2000) — 4000

Div 2: 500 — 1000 — 1250 — 1750 — 2250 — 3000

UPD2: Sorry to everyone! This is my first round and I spent lots of time to prepare it. I prepared at least 23 problems, and chose these eight ones for this round. I invited 35 testers to test, and chose problems according to their feedback. However, the difficulty is more than expect.And the pretest is not strong, leading to FST for many people. I blamed myself sadly. So I must say sorry to you, my dear friends. I will improve myself in the future. Wish you good luck and happy everyday. (๑•ᴗ•๑)

UPD3: Tutorial is available.

UPD4: Congratulations to the winners

Div1:

1.gisp_zjz

2.VivaciousAubergine

3.xtqqwq

4.Swistakk

5.Endagorion

Div2:

1.ki_msaga

2.jk-jung

3.RBurgundy

4.motomuman

5.flashsonic

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

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

First Upvote done.

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

orz! Looking forward for a great round!

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

I can confirm problems are awesome! Good luck in the round!

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

Is Aquamoon a girl?AquaMoon

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

Coordinators: How many testers do you want?
Authors: Yes.

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

As a tester, problems are great!

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

2.5 hours... Any reason?

»
5 лет назад, скрыть # |
Rev. 4  
Проголосовать: нравится +246 Проголосовать: не нравится

Good problems! The difficulty level is moderate, the knowledge covered is broad, the statements are clear and short and the solutions are more natural.

I would like to give upvote to the writers!

update near the end of the contest: Now you may know what's the true meaning I said.

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

I'm a tester and I'm sure the problems are excellent!

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

Good lucky to everyone.Get a high rank!

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

As a tester, I hope you can get the ideal score :)

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

As a setter, I hope you enjoy the problems!

Subscribe to Technoblade to AK div1 :)

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

After mathforces and messforces I am hoping for good codeforces Round .

This was just a sarcasm guys don't take too seriously?.

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

Good luck in the round! I do wish that you can enjoy our contest!

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

How is this not in the homepage yet?

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

I literally had a heart attack seeing this much color at one place!!

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

As I tester, I can say that the problems are very interesting! Strongly suggest you to participate!

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

Wow, Chinese Round again!! So many familiar writers and testers, can't wait to participate in ;)

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

As a participant , I can say that I dont know anything about this round.
Just look I see the post after 6 days !!!

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

I can't confirm as I'm mentioned in the blog for absolutely no reason, but I do believe problems will be great.

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

First time I've seen the word "behoove" in a sentence...interesting word!

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

Coming!

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

I am really excited for the problems! hope high rating for everyone .. including me :)

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

Aarghh!! Clashing with Wimbledon finals time (:

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

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

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

I'm sure that AquaMoon's first attempt will be glorious

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

first time a round post where round coordinator is given a backseat and testers are racing to win the game~

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

This comment section is one of the most wholesome ones I've seen on codeforces thanks to AquaMoon!!

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

Aoligei, ganle!

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

Mathforces->My favorite genre

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

The mighty Chinese questioning team!

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

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

Looking at testers and setters I already feel like I'm going to learn a lot from this round. Thank you for efforts!!

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

An All-star Round

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

Best wishes to everyone):

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

It must be an interesting round.

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

I think Div.1 F is a data-structure problem. Because ODT is one of writers.

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

99% of the comments : "as a tester...."

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

As a tester...

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

Is this rated?

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

A 'relevant to this blog' meme

Hnet-com-image-2

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

Should i start my journey with this contest ?is div1 easy than div 2 ? I have registered today itself ,i don't know anything about this site

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

The score distribution seems very good! I hope I will be able to participate. If you need an extra tester in future contests, I'll gladly help :))

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

I hope there are no math problems

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

CCP is proud of you! No more gang of four!

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

Sunday = contest day (Leetcode->Kickstart->CF) Back2back contests

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

Any tips for the newbies:)

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

What is the penalty for div 2?

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

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

Aquamoon responding to every comments leads to some fat contribution for her, ngl.

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

Standing on 1399 I can ask only one thing from you , I need atleast +1 rating change .

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

Q!!

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

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

AquaMoon is not good at Programming is a pun!

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

Why did i even start programming ?

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

худший codeforces round ever

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

The difficulty gap between problem D and E (B and C in div 1) is so large. The contest has run 1 hours and half and no one accepted E in div 2.

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

Wow. That's some really monster combinatorics :) I'd like to see where to read on this.

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

AquaMoon was so hard but the problem was interesting !!

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

We couldn't help this much. Tell AquaMoon to be good at programming.

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

Hackforces

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

AquaMoon aka 'not good at programming, yet better than you'

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

Me seeing numerous solution of Div1A get hacked:

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

What is the hack test for Div1.A?

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

Did anyone actually manage to prove the solution for Div1B? I just did some guesswork based off the pascal's triangle. And also how weak is the pretest for Div1A because I see so many people getting hacked

  • »
    »
    5 лет назад, скрыть # ^ |
    Rev. 3  
    Проголосовать: нравится +27 Проголосовать: не нравится

    You can moves 1s in pairs. So consider 0s and one 1 from odd size blocks of 1s to be fixed. Now this is just normal stars and bars where you're trying to place the pairs of 1s among the 0s (odd block 1s are indistinguishable regardless of which side you place the block(s) on).

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

    Note that the operation is equivalent to 'shift 2 1's to the right or left'.

    Now we can just move any even subsequence, so let's focus on the sequences of an odd number of 1's. Between these sequences, the number of 0's is constant.

    Great, so if we ignore the pairs, which we can move, we get a sequence like 0000100101 with no 2 consecutive 1's. Then we can basically ignore the 1's, we only get to choose which 0's to put each of the pairs of 1's between. Suppose there are Z 0's and P pairs. Using the stars and bars argument, there are exactly

    $$$\binom{Z + P}{P}$$$

    ways.

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

    Here's one intuitive way to justify the formula for Div1B: Greedily pair up adjacent ones. Then, you can (with the operation) permute the zeros and the pairs of ones arbitrarily, and the unpaired ones will have their locations determined by the zeros. If there are $$$p$$$ zeros and $$$q$$$ pairs of ones, there are clearly exactly $$$\binom{p+q}{p}$$$ different ways to do this.

    EDIT: I should have refreshed to check if this was already answered before typing this up. It's too late now, though!

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

    How did pascal triangle helped you in this "Aquamoon and Chess"?

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

    Yes.First we will add 2 zeroes one at the beginning and one at the end.let x be the number of zeroes.let ai be the number of ones between the ith and (i+1)th zero for all 1<=i<=x-1 .Notice that the operation is same as subtracting 2 from one index(which has value atleast 2) and adding it to 2 to one of its neighboring index so the invariant is parity of ai.

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

How to solve B?? Turns out this whole cute blog was a clickbait.

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

tilted off the face of this fucking planet, I can't solve C because I can't implement for fking shit, even with 50 minutes AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASDFKLSANFLKAS;JFLSJKL

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

Finally tourist will be back on rank 1 .

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

I tried to hack some of the solutions with test

1
7
3 2 3 2 3 2 3

I think the answer should be YES here, but the checkers says it's NO. Any ideas? :)

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

When hackers get hacked :>

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

For D2E is this true — If we make a graph of array as nodes result is $$$2^{c}$$$ where $$$c =$$$ number of bipartite components?

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

    I thought about counting in such components, wherein component nodes(arrays) are pairwise distinct in every position (component is a full graph) and the answer is a sum of C(size_of_component, n) for each component

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

Not to complain but this round is WAY TOO HARD for me

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

System testing is gonna slower than internet explorer.

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

What the hell is wrong with you? Wasn't half a year enough to prepare well? Why does this bold note in D even exist? I don't see any reason to make this task "interactive" and put that garbage in the statement. Did you want to make your long awful statements even more unreadable? Well, then you succeeded. Also, please, learn such mathematical constructions as "intervals" and "segments" so you don't have to cripple your statements with these countless 10^-18. Pls stop creating problems.

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

    I think this is because it's quite hard to check if an input is valid. And, maybe codeforces doesn't have a way to provide a different input format as a hack unless the problem is interactive.

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

    They are making the problems interactive to support the hacking format.

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

    Prob hacks. Well, if you use intervals instead the answer has to be defined as limit and that's another can of worms.

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

    Hello. It is very unpleasant to read your comment, so I can't ignore it.

    About the interactive problems Div2B and Div1D: it is impossible to ensure, that the input is valid because it is NP-hard problem. So, validator can't be written and we have some ways how to deal with it:

    • Generate tests without validator and disable hacks. Such problems already appeared on Codeforces.
    • Make this problem interactive. In this case, everything can be validated. For the participants this variant doesn't change anything.

    It was my proposal to use the second option, maybe it was not the best, we will consider this experience in the future. Anyway, if the paragraph about the interaction was unclear to you you had an option to ask the question to us.

    About the intervals. Everything was defined formally. There were no mistakes in that definitions. So what can be told here? We know the difference between intervals and segments.

    If you couldn't solve the problems it is very stupid to take out your anger on authors. I have personally seen how much work was done to make this round possible and know how much sadness you can make by your comment.

    Of course, in this round, there are some things, that we could do better. And thanks to everyone, who will write his or her good or bad opinion, but not in such form.

    And according to the style of your comment, I propose you stop writing such comments after the round.

    I hope I will see many rounds from AquaMoon and her friends because in my opinion the problems were very interesting and had very beautiful solutions.

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

      I also liked the round, thanks for your efforts in preparing it.

      One thing I want to point out here. Maybe it would be better to let the participants know why this problem is "interactive". It was a little annoying reading a restriction that comes out of nowhere.

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

      what the hell are you talking about? why if problems are disgusting and statements are ugly people can't talk about it in comments?

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

      Hello. It is very unpleasant to read your answer to this comment, so I can't ignore it.

      First of all I want to clarify that I missed the round and had a chance only to read the problems in the middle of it so I can not honestly say anything about the quality of the problems even so I may or may not like them. I want to thank authors and testers for their efforts in preparing this round, but certainly there were some issues which could be fixed for the sake of future contests.

      About Div1D: I believe that most of the displeased contestants were confused by the fact that problem was interactive for some reason and that it was included in the middle of the statement without any proper explanation. I think it should be considered a bad tone to say that if you had any questions(about obviously somewhat unclear statement) you should have asked them lol. From my and my friends experience of problem setting, it is considered to be authors' and coordinators' responsibility to make problem statements clear and easy to understand for the majority of participants, as it is your desire to attract as many people as possible to take part in your round.

      About Div1E: I guess that the main objection here is that using intervals of time with +- 1e-18 thingies sounds a bit strange and obfuscates the problem statement in a certain way. For sure, your definition was formally correct, but again it is best to write it more clearly. These intervals just look ugly and it's unpleasant to read a problem statement like that.

      It also looks very petty to me to make remarks like "If you couldn't solve the problems it is very stupid to take out your anger on authors". It's very bold to make such assumptions, and from what I understood despite the offensive form of his comment the main problem in this round in his opinion was not his lack of ACed problems during the contest or even the quality of the problems themselves, but the problem statements. Even the most offensive phrase is just a reference to an old comment from the famous nuttela coder if I recall correctly.

      There were lots of rounds and lots of displeased people in the comment section with messages way more rude than this one(for example under my global round). I agree that it was wrong to put all the blame on the authors, however, decent problems statements are mainly coordinators responsibility and your a bit childish response made it look even worse than the comment itself.

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

        Maybe late, but here is an explanation on Div1E.

        Cirno_9baka told me the problem like this: there are some squares in a plane, and there is a line (y=x), the line can't cross the squares( but not include the bound), and change the line need some cost, find the min cost.

        Then change it to the statement with the backgroud is a hard work ( The problem had been changed because no writters could solve the previous version. ) How to define we can walking on the bound?

        We have discuss about both closed interval and open interval, if it is closed interval, than the boundary is not able to be walked.

        It seemed that open interval can solve the problem, but there is still a problem, how to control the time?

        We can stop the time, but if we let the time go, and then, the person will die immediately.

        Finally, we thought to define it with +-1e-18 is the most clearly definition for the problem.

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

      The statement of Div2B is hard to understand, which is bad given that it is a more or less trivial problem.

      The main points are:

      • missleading explanations about interactivity
      • the information "what is asked for" is in the last paragraph instead of the first
      • dispite of hard to read and to much information, still you tried to tell a "funny" story, making it even harder to understand (using unique words like a "stolen" string, "complete disarray")

      For me it was like 20 minutes text understanding but only 2 minutes problem understanding. Since A was not very clear either I did work on B before submitting A. And after having spent that 20 minutes I was out, not submitting anything.

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

      it is impossible to ensure, that the input is valid because it is NP-hard problem. So, validator can't be written and we have some ways how to deal with it.

      Hi ! I have a doubt regarding this. Can you please help me understand why getting a validator in a non-interactive version is np-hard and how making it interactive solves it ?

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

    mutant's comment is very rude. It is also arrogant and aggressive. I'm sad that high-rated participants allow themselves to lead the discussion in this way. This tone divides the community and multiplies the negative. The same facts could be stated without aggression.

    Let's read the text again.

    What the hell is wrong with you?

    Intolerable form and transition to personality. Great start to the discussion.

    Wasn't half a year enough to prepare well?

    Well, why is it here? It is solely a matter for the writers and the coordinator with what intensity they work.

    Why does this bold note in D even exist? I don't see any reason to make this task "interactive" and put that garbage in the statement.

    The word "garbage" has been added to make the authors more unpleasant.

    Did you want to make your long awful statements even more unreadable? Well, then you succeeded.

    Again all sorts of unjustified rudeness and amplification: "awful", "even more unreadable". Well, you're just manipulating! The problem is quite normal, except for this unusual phrase. There is nothing at all bad about it.

    Also, please, learn such mathematical constructions as "intervals" and "segments" so you don't have to cripple your statements with these countless 10^-18.

    What an arrogant tone. And very disgusting. In addition, the international mathematical community (in contrast to the Russian mathematical school) did not seem to agree on the terms interval and segment. See https://en.wikipedia.org/wiki/Interval_(mathematics)#Note_on_conflicting_terminology

    Pls stop creating problems.

    No, I prefer you just stop solving problems here, please. I really hope that the authors will not listen to you, but will simply draw some conclusions and please us with another round. They made significant efforts to make the community better. And you have no moral right to write to them in that tone.

    Let me summarize. I believe that it is imperative to give feedback on the rounds and problems. Including pointing out defects and mistakes. But this must be done in the form of civilized communication of educated people. You offend people. It's always easier to attack and criticize. It's just mean to behave like that. Preparing problems is very difficult, it is not an easy job. We must support the writers, be grateful to them. This is an adult and mature position. And mistakes and defects must be pointed out correctly.

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

C was beautiful =)

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

Hack test(problem div2C/div1A)

1

10

5 7 5 7 5 7 3 3 4 7

Output: NO

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

Thanks for this beautiful contest.

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

Can't believe the solved count of problem D in Div2

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

Already figured out D2D is calculating combinatorial number but didn't have the time to implement it... sad :(

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

thanks for the contest

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

I regret not trying to hack during the contest

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

Wow what a contest (--_--)....**** the test cases :|

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

Anyone faced an issue with B problem, thinking about the answer when n = 1 Submission 1 Submission 2 Ac I got two Idleness limit exceeded on pretest 3 because of this.

Great problems anyway!

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

Couldn't solve problem A

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

how to solve D?

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

    Notice how the pawns travel in pairs. If a pair of traveling pawns meets an isolated pawn, then the odd pawn gets shifted one to the left and the pair continues on its journey:

    11010
    01110
    01011
    

    This is equivalent to if the odd pawn didn't exist at all.

    So we can iterate over the array and count the number of pawn pairs $$$p$$$ and zeros $$$z$$$. Then the total arrangements are $$$C(p + z, z)$$$.

  • »
    »
    5 лет назад, скрыть # ^ |
    Rev. 4  
    Проголосовать: нравится 0 Проголосовать: не нравится

    The answer is nCr, where r is the count of number of zeros in the string and n is r + (No of consecutive 1s)/2.

    For ex, 100111100

    Here, r is 4, and n is 4 + (1/2) + (4/2) = 6. So answer is 6C4

    You'll have to find nCr % p using some efficient technique (like here : https://www.geeksforgeeks.org/compute-ncr-p-set-3-using-fermat-little-theorem/)

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

      Can you explain why it works?

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

        Sure.

        Observe that if you have 0110, you can move this "11" as a single entity. So, you can have 1100 or 0011. Similarly, if you have 011110, you can move the two "11" as separate entities, like 110110 or 011011 and so on..

        Basically "11"s move together and 0 can move anyways as it pleases.

        Now, 011110 can basically be treated as collection of 4 elements where two 0s and two 11s are identical. This means you have 4!/(2! * 2!) possible ways to permute, which is same as 4C2.

        You can try multiple examples with variations like 01110 or 10110 (i.e. what if you have odd number of consecutive 1s) and you'll see that the observation still holds

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

    The binomial solution is also pretty heavily motivated by analyzing the simples. Two of them are 13C5 and one of them is 13C4 which leads one to think whether we can break the structure down in order to get that form. Once you look for something along those lines, the solution becomes way easier to find.

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

Man, Div 2 C really gave me hell. I can't think clearly about permutations this early in the morning.

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

Why was B such a half baked interactive problem tho?

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

I think the word Pre-Tests is self-explanatory. Why did you even care to run pre-tests on Div1 A if they were so weak.

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

HackForces

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

5g4ypa

I accidentally submitted for A at 00:54. ╥﹏╥ I swear my hand autopilotted me to submit A.

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

I will be orange without the pA hack. I am going to quit cp. (Nah just kidding but I hope the pretests are stronger :(

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

Solution for div1D

For finding the culprit, find the consecutive sums of coordinates of that aren't in AP.

With this we get the culprit, and the number $$$D$$$ to be added to one of the coordinates in that culprit time $$$T'$$$.

Now observe sum of squares of coordinates for a time moment.

They are of the form $$$f(t) = a + tb + ct^2$$$

Find a, b, c by finding the sum of squares for any three unchanged moments and solving the linear equation.

We now know what the sum of squares of coordinates will be at $$$T'$$$. It's just $$$f(T')$$$.

Now find a coordinate in $$$T'$$$ which if incremented by $$$D$$$, makes the sum of squares $$$f(T')$$$. This number is unique under the constraints. (brute force)

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

Who can estimate the difficulty of C div1?

I guess 2900?

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

What the hell is the interactive solution? Why does not my solution work? I' ve added fflush(stdout) as tutorial says.

https://mirror.codeforces.com/contest/1546/submission/122130911

UPD: see my comment below.

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

Div.1 become speedforces, sad to see my negative delta...

1E and 1F just stand there, and no one can defeat even either of them! lol

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

Find a hack case in the last minute and lose 400 pts :(

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

Lots of WA on problem A because of my carelessness.
(._.) (._.) (._.)

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

How do you manage to have 998244353 testers yet have weak test cases and imbalanced af contest.

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

Forgot that B was "interactive". Waiting for my Idleness limit exceeded on test 5 :D

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

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

I was lucky to be late for the contest.

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

As a tester, I dont know why they thought that most testers only solving AB was good difficulty balance.

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

when can I enter virtual participation in this contest?

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

There is a decades-long technique to store secret data in the answer file.
A pity Polygon does not support it, and the authors have to resort to technical interactiveness.

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

It's sad that just "knowing" a formula can get you solving Div. 2 D problems.

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

There is a good number of cheaters in this contest. In particular there was a guy that "magically" solved problems A through D from 2:22 to 2:24 a little behind me in the standings

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

can some help me with Div2 B, its clearly states that n.m<=1e5, but i am getting TLE on test case 4 Here is my code // fr(i,n) ===> for(ll i=0;i<n;i++)

https://mirror.codeforces.com/contest/1546/submission/122127484

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

Everyone complaining about C and D meanwhile, I was stuck for an hour on Div 2 B and gave up. All hope is lost

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

FSTforces...

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

past 5 contests are boon for me.... No DP/Graph...Adhocforces/Greedyforces/constructiveforces/Mathforces Orz

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

the operation in div1b is same as 625 div1D Reachable strings

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

Grow up in pain

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

Don't blame yourself. The difficulty of the problems is not a problem. The difficulty only reflects that we have a lot to learn, which is not your mistake at all. Thanks for the meaningful questions!

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

This type of bad contest should be discouraged. Several problems are with weak pretests. If you want people to hack each other, you should provide weak testcase to atmax one problem. But I take this as an ignorance to making strong pretests.

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

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

So many testers and still so weak pretests of Div2C lmao

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

Как человек, у которого упало две задачи на систестах, выражаю недовольство этим раундом!..

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

why was div2B fake interactive?

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

I got 3 secs late in submitting D and my C got hacked and people say breakup hurts the most :)

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

Finally I am specialist(After today's rating update according to cf predictor)

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

AquaMoon Thanks for creating such awesome problems, I solved 1 but will got to know what next I should work upon.

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

I wont comment on difficulty since it is obvious to everyone, but the problems were simply amazing.

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

Most of programmers now :

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

This round was amazing! I enjoyed all of the first 4 problems which is extremely rare. Thanks for the great round.

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

What a FST round.

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

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

Got 1 minute late on submitting D, and FST on C :|

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

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

Even if I fail numerous system tests, my love <3 for AquaMoon round will never fail. :0 :/ ;-;

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +17 Проголосовать: не нравится
People who left the contest reading B is interactive
»
5 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +13 Проголосовать: не нравится

Deleted

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

To not keep you waiting, the ratings updated preliminarily. We will remove cheaters and update the ratings again soon!

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

AquaMoon It was your first contest so don't lose heart. You did a great job coming up with the questions. Even if my solution failed Div2 C, it is my fault that I didn't take account of the corner cases. We would like to see more contests from you soon. Cheers!

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

why most solutions in div2 C that calculated the number of swaps per index through number of inversions failed the system test ? Has anyone passed the tests with this approach ?

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

    my solution failed too. we are missing the fact that if we are swapping two adjacent indices i and i+1 and before swapping i is facing right and i+1 is facing left,then even after swapping,index i will face right and index i+1 will face left.

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

the biggest winner is tourist and he just didn't participated :)

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

please rejudge problem C at Codeforces Round #732 (Div. 2) the test case 38 that fail my solution is

1
6
2 1 2 1 2 1

you say that the answer is NO but I have a way to sort it

2(r) 1(r) 2(r) 1(r) 2(r) 1(r)
1(L) 2(L) 1(L) 2(L) 1(L) 2(L)
1(L) 1(R) 2(R) 1(R) 2(R) 2(L)
1(L) 1(R) 1(L) 2(L) 2(R) 2(L)
1(L) 1(L) 1(R) 2(L) 2(L) 2(R)
1(R) 1(R) 1(R) 2(R) 2(R) 2(R)

so my answer is yes

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

FOr INDIANS For those nerds who are flirting with aquamoon. I would say "Nahi degi".

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

The constrains for Problem B was enough to TLE O(n^2) solution, even so how come all the solutions are o(n^2) or o(mn)..This was the cause I was thinking of other than O(nm) solutions.

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

please rejudge problem C at Codeforces Round #732 (Div. 2) the test case 38 that fail my solution is 1 6 2 1 2 1 2 1 you say that the answer is NO but I have a way to sort it

2(r) 1(r) 2(r) 1(r) 2(r) 1(r) 1(L) 2(L) 1(L) 2(L) 1(L) 2(L) 1(L) 1(R) 2(R) 1(R) 2(R) 2(L) 1(L) 1(R) 1(L) 2(L) 2(R) 2(L) 1(L) 1(L) 1(R) 2(L) 2(L) 2(R) 1(R) 1(R) 1(R) 2(R) 2(R) 2(R)

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

I don't understand test 38 Div. 2 C I think it should be YES

1 6 2 1 2 1 2 1 R R R R R R their directions

After (1,2), (3,4), (5,6) it's

1 2 1 2 1 2 L L L L L L

Then (2,3) (4,5)

1 1 2 1 2 2 L R R R R L

Then (3,4)

1 1 1 2 2 2 L R L L R L

At the end (1,2) (2,3) (4,5) (5,6)

1 1 1 2 2 2 R R R R R R

What am I doing wrong?

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

Why did i use c++17 or c++11 get tle on div2 B???https://mirror.codeforces.com/contest/1546/submission/122123116 but when i used c++17(64) ,i get ac!!!! https://mirror.codeforces.com/contest/1546/submission/122138916

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

Lol... tourist back to the top!! Without even participating. :))

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

I finally got to cyan!

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

Weak pretests in Div 2 C.

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

How to break D into a "Stars and Bar" technique problem?

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

The round should be unrated, the pretests were weak and number of FSTs is high :/

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

hardforces

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

The problems were amazing, looking forward to more contests by you.

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

Keep Going AquaMoon 99.99 % of people of codeforces (including me) love you and want more contests from you

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

C...

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

What a nice contest!But I can't solve the problems.They are too hard for me.
Fortunately I am a Chinese.I was sleeping during the contest.

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

HackingForces! What a round it was! I had taken 2164 place after the system test where before the system test It was more than 3400.

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

Great contest!! love all the problem that I was able to atempt.

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

The problems were truly outstanding. Hoping for more contests from you.

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

... MEME

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

CNOI,Best OI!

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

in question c(AquaMoon and Strange Sort) i am getting right answer but in testing it failed my code on test case 37 i am getting (YES NO YES NO YES) but it is showing i am getting (YES NO NO NO YES) please look into it because on my complier i am passing this case,please get a look into it as early as possible

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

I will reply to everyone who sends me a message on the site, but codeforces has a limit on the number of messages on the site per day. So if there is no reply, I will reply in the next few days.

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

I didn't take part in the contest, but during upsolving I had problem with div2 A. In the main problem statement it wasn't mentioned that maximum number of operations is 100. It was even highlighted that we don't need to minimize it.

Only after incorrect submission I found out in the output part of the statement that there is a limit. Technically it was my fault of not reading complete statement, but imo it would be much more better to have it in the main part of the statement. Even more for problem A, where you are trying to solve it as fast as possible, so reading input/output formats is usually waste of time (if the format is clear from main part of statement + example input/output).

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

when I click on the tutorial page link, it shows that the "you are not allowed to view the requested page". can someone tell me why?

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

Мне нравится этот разброс по сложности между A,B,C,D и последними двумя)

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

What is the use of &mdash in Div2 Problem D?

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

I hope you enjoy Div1C, because it's quite hard for me to generate the test data of it. Meanwhile, as a tester of Div1D, it cost me 5 hours to think, finally get ispiration to AC. In fact, I suppose it's the best problem of the contest.

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

Hey guys, I received a report :"Rating changes for the last round are temporarily rolled back. They will be returned soon." . What does it mean???