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

Автор YouKn0wWho, 3 года назад, По-английски

কি অবস্থা মামা? (That's Bengali for "What's up dude?")

I am super excited to invite you to participate in Codeforces Round 735 (Div. 2) which will be held on Jul/29/2021 17:35 (Moscow time). This round is rated for future LGM participants whose current rating is $$$\le 2099$$$.

You will be given $$$5$$$ problems and $$$2$$$ hours to solve them. All the problems are authored and prepared by me.

I would like to thank -

The statements are super short and I have tried to make the pretests strong. I encourage you to read all the problems and solve them all.

I would like to dedicate this contest to the fallen king, my father, who died two months ago. May he and all the departed good souls rest in peace.

Scoring distribution: $$$750 - 1250 - 1750 - 2000 - 3000$$$.

Good Luck!

UPD1: Thanks for participating, I hope that you guys loved the problems, and sorry for B being a bit difficult than usual.

UPD2: Editorial

UPD3: Congratulations to the winners.

Div.1 + Div.2:

  1. turmax
  2. Karry5307_AK_NOI2024
  3. SSRS_
  4. Pyqe
  5. X_qaeq

Div.2:

  1. Karry5307_AK_NOI2024
  2. X_qaeq
  3. the_tool_er
  4. DecayingSylow
  5. Rednusa

Also, congratulations to the first solvers:

A: LiM_256, at $$$0$$$ mins!
B: RinShima, at $$$4$$$ mins!
C: xiaofan7, at $$$7$$$ mins!
D: 6945930042DucLA, at $$$7$$$ mins!
E: rainboy, at $$$23$$$ mins!

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

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

whoa!

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

A Bangladeshi round after $$$7$$$ years. As a Bangladeshi , it feels very special. Eagerly waiting for it. <3

»
3 года назад, # |
  Проголосовать: нравится -91 Проголосовать: не нравится

Speed forces it is.

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

We are also super excited to participate!!

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

The problems are super interesting. As a tester, I encourage everyone to participate (and also upvote this comment :3).

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

The problems statements are very clear and precise. Hope everyone will enjoy the round. And also, don't forget to READ ALL PROBLEMS.

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

Eagerly waiting for this round

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

Eagerly Waiting for this round ! খেলা হবে মামা !

»
3 года назад, # |
  Проголосовать: нравится -27 Проголосовать: не нравится

Pls no fst pls no fst plsssss

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

Thanks for this delightful invitation, and for sharing with us the kind dedication to your father's soul.

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

RIP. He's looking at you from heaven :)

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

oh hoo!! The first bengali round I have seen so far. Feeling very proud.

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

Shei

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

May Allah rest your father's soul, Ameen.

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

As a tester, I really liked the round. The problems are very nice (Do give a read to all of them). The statements are short and concise.

Also... as a tester, it is my duty to inform you there's an upvote button to this comment... UwU

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

as a tester, I recommend this contest to everyone.

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

অস্থির (amazing)

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

As a Bengalee,I am very glad to see the starting line of the blog is written in Bengali.Hoping for some exciting problems.

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

I am going to participate in this contest(& lose some rating!).

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

Eagerly waiting for it. Super excited.

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

May Allah grant your father Jannatul Ferdous.Ameen.

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

Super Excited!

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

Pro A : 250 and Pro A : 750 :V

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

Nice to see a Bangladeshi Round

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

Time to upsolve this and this round

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

I see what you did to Anton :)

Spoiler
  • »
    »
    3 года назад, # ^ |
      Проголосовать: нравится +31 Проголосовать: не нравится

    I was wondering why people are talking so much about that line. Now I realize it's in white font and I'm in dark mode, so it appeared normal text to me.

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

This round is rated for future LGM participants whose current rating is ≤ 2099

Wow that was very motivating!

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

Proud of you. Best wishes for you. I am Eagerly waiting for this round. Hopefully i will enjoy the problem set. (আসো খেলবো,খেলা হব্বে ২৯ তারিখ)

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

The statements are super short

Already feeling like it's gonna be a great round.

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

One of the sweetest invitation ✨✨✨

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

As a Codeforces Optimal Theme user I see this!

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

Hope that Bangladeshi round will be held more often beginning with this round.

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

I am seeing "কি অবস্থা মামা" in a Codeforces blog!! What a pleasure for eyes!! Not going to miss this contest at any cost.

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

pari na pari ,khela hobe !

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

5 problems & 2 hours is the best format for a CF round. I don't know why this is so rare nowadays. Hope this will be a great round. Best of luck.

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

As a Bangladeshi this is a very mesmerizing news. This will surely encourage Bangladeshi contestant to be more precise on this competitive filed. Proud to be a Bangladeshi. Congratulations to you all and we are very honored. Wising best of luck to everyone. Hopefully this will be an interesting contest. Waiting to be a part of this historical journey..

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

Love from Kolkata(India) <3

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

Kya hal h bhai ke (that's in hindi for what's up dude)

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

I would like to dedicate this contest to the fallen king, my father, who died two months ago.

Sorry to hear about this. May his Soul Rest In Peace.

Thanx For the Round BTW

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

Very excited to participate this round!

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

Omg! Bangla Brigade on fire, so many comments within 2hrs!!
As a YouKn0wWho Fan I highly recommend participating in this round, he has authored many lovely problems on CodeChef and toph.co before. Super excited for this round!

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

Let's hope problems are as interesting as this announcement was.

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

a great contest for us. thanks

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

When author says "I encourage you to read all the problems"

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

    I managed to solve the last problem in Codeforces Round #714 (Div. 2), though I was a Pupils at the time!

    Spoiler

    So everyone should read all the problems and try to the last moment!

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

      Did you have a hacky solution or just random thing which passed pretests or was it actually something close to the editorial's solution?

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

        It's a lame solution. It only checks $$$10^8$$$ pairs, and that's enough for random tests but it can be easily hacked.

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

    That applies to specialist like me also.

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

      That applies to a pleb CM like me also lol. Let's be real, if you can solve div 2E consistently, then you are at least master level.

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

        Agreed (esp. with the "at least" prepended to master). I still can't solve div 2E consistently

»
3 года назад, # |
  Проголосовать: нравится +54 Проголосовать: не нравится
lighthearted meme
»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

It's Bengali! I am so excited!!

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

YouKn0wWho

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

Thankyou for the contest YouKn0wWho.Very much excited for it.

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

Okay does other contest blogs have hidden texts too? I discovered this for the first time;_;

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

This is really impressive! Eagerly waiting to participate and get mara :3

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

Hopefully , going to be a exciting round . And my deep condolences to you and your family .May your father's departed soul rest in Peace.

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

Never seen A problem with 750 points, its gonna be crazy ride.

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

May ALLAH Grant Your Father Jannatul Firdaus, Brother. and I am having a great feeling that the problems will be very interesting.

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

Yes your father is a real king, rest in peace.

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

Wish to participate in your next round.

Best of Luck for the ICPC YouKn0wWho .

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

hi um new here:)

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

Eagerly waiting ... hope to regain my lost position in this round (T~T)

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

mama?

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

    Real meaning of mama is maternal uncle. But people of Bangladesh love to address friends, any unknown person as mama. This is a common thing in Bangladesh.

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

This is really a proud moment vai.Waiting for it!

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

More power to you!!

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

Being excited, motivated, happy, and sad at the same blog

I'm sure your father is proud of you

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

God bless your father

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

"The statements are super short and I have tried to make the pretests strong."

Orz

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

The score distribution seems to be quite difficult than usual.

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

I like short question descriptions very much

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

This round is rated for future LGM participants whose current rating is $$$\le$$$ 2099.

What a wonderful line to read before the contest.

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

Excelsior to take part and face new challenge adn learn from them, hope you have not added any question from xor

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

My 100th Round in Codeforces is going to be a Bangladeshi round,really!!! As a Bangladeshi i am really excited!

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

As a fan of Hero Alom, I can't wait for this round. I love Bangladesh.

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

Really proud of you, man! YouKn0wWho ❤️

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

Trying selecting the first line under "I would like to thank -". Hahahaha

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

He is legend in codeforce i try to follow him..i solved acroding to his 1st submission!congrats mann!

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

Expect! First time to participate Bangladesh round :)

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

You are proud son of your parents. RIP to his soul

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

Bangladeshi round => Comment section fully immigrated.

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

RIP for your father. His thoughts and blessings will be always with you.

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

I love the way you bring this contest to us. Stay strong and good luck everyone!

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

As a tester, I recommend you to read all of the problems

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

God bless your father

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

I don't think I'll ever manage to reach LGM. Will this contest still be rated for me?

Jokes aside, really excited for what I think is the first contest with the standard 5 problems in 2 hours format in a while!

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

It seems that problems will be interesting. Mercy and forgiveness for your father.

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

Bengalis, assemble.... খেলা হবে । সবাই খেলবো ।

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

Let's go amigos.

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

"The statements are super short and I have tried to make the pretests strong." After this line, there is no doubt that the round will be marvelous.

Also, this round is being felt vary native to me. As a Bangladeshi, I seriously feeling proud.

As my father also died 4 years ago, I can understand your feelings. May Allah give Jannah to your father.

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

love Bangladesh from Iran

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

Voldemort's contest it's gonna be tough

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

Short problem statements! I am expecting maths problems.

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

Thanks for keeping the statements short! :D

Eagerly waiting like everyone! :) Hopefully It's gonna be a nice contest!

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

Lets make it to 2000+ upvotes

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

May he and all the departed good souls rest in peace.

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

iakioi

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

Anybody noticed this on the first line in Thanks section

antontrygubO_o for his awe-inspiring coordination of the round and rejecting my problems, and thus hurting my feelings.__****

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

Only 5...?

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

Most people like: go to comments to watch testers comments and understand if the round will be difficult or not. Wish you will grow your rating (my eng is bad, I know)

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

Good luck, Guys!

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

Well, this contest is probably rated for me because I'm a future Legendary Grandma.

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

I hope that I will like this contest, and not only me. I wish your father peace in the other world.

Good luck for all.

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

finally, div1.5

(according to scoring)

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

Will it be a mathforces ?

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

Good luck to everyone!

»
3 года назад, # |
  Проголосовать: нравится -9 Проголосовать: не нравится

Did anyone see the hidden text in the blog. It reads: antontrygubO_o for his awe-inspiring coordination of the round and rejecting my problems, and thus hurting my feelings.

Just select the above line :P

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

hope that i will become expert today :)

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

Good luck, Guys!

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

Good Luck!

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

Hoping A, B and C questions would be easy for a noob.

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

Oh I will not become a LGM in the future, so the contest is unrated for me!!!!!!!

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

Try to copy al text and you will see an invisible text after "antontrygubO_o for his awe-inspiring coordination of the round" .

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

Even though I quit CP 2 years ago. Still going to participate. Proud!

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

A<<<B drastic rise from A to B

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

Don't leave a single question easy make all of them hard. So I can finally quit! first question take 2 min rest --------- its like an appreciation token for participation. Codeforces is a platform where top 2000 people solve question rest all see the standing page after doing A question. Again div zero contest. There is no coolness in setting a hard contest , it should be a balanced one . increment in my preparation <<<<<<<<<<<<< increment in hardness. A year ago when I knew nothing i was able to solve at least two A B and C if its of graph or standard one. Now after months of practice I'm able to solve only A . A contest is of 2: 00 hr for me its of 5 minutes . Thanks codeforces for demotivating me again! For people less than 1500 its is buzzer round who solve A faster. thanks queueforces for ruining this buzzer round also.

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

    Do not get frustrated buddy. There will be some easy rounds you can increase your rating in those rounds.

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

Aforces

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

HardForces IT IS!

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

suorer baccha contest

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

Why the problem B and C are too hard, frick this? Btw I'm saying this just bc I was not able to do problem B and C :(.

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

    Ikr.. even I wasn't able to do them. Probably some trick / method that I've never seen before. Unlucky :(

    Nevertheless, hoping to learn some useful stuff from the editorial

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

    prob C is easy if u just generate xors for yourself, it's some weird series of number, but in some time you should be able to find pattern in it (i started this too late)

    i found out that for numbers 0-15, 16-31, 32-47 etc difference between MAX and MIN is always 16

    just look at it:

    n = 3 m = 47

    3 2 1 0 7 6 5 4 11 10 9 8 15 14 13 12 19 18 17 16 23 22 21 20 27 26 25 24 31 30 29 28 35 34 33 32 39 38 37 36 43 42 41 40 47 46 45 44

    n = 20 m = 47

    20 21 22 23 16 17 18 19 28 29 30 31 24 25 26 27 4 5 6 7 0 1 2 3 12 13 14 15 8 9 10 11 52 53 54 55 48 49 50 51 60 61 62 63 56 57 58 59

    it must have some sort of pattern

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

13k participant only 2k solves for B, Great demotivation.

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

    Yep, what a round to pick to come back to CF after a 5 year pause lol

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

and they said global round B is hard how about this B :P

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

idk what happened, D was much easier for me than B and C, couldn't solve them yet... :/

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

bitwiseForces

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

sadforces

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

Problem D is easier than B and C(Unless I FST)

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

D > B > C

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

How to solve E?

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

    Only divisors of N-1 are important. Find array d[i] = number of arrays where i divides all elements (the answer is easy to find from that array). d[1] = 2^(N-1), all other d[i]'s are either 0 or 1 (proven by the following checking algorithm): start from leaves, it is uniquely determined whether that node is selected before it's 'parent' (k cannot divide both x and x+1). If it divides neither it's 0, if the check finishes it's 1.

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

      Whaaaat? Why $$$d[1]=2^{N-1}$$$?

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

        Ok, I understood. I read the statement incorrectly, I thought that the numbers are written in the operations' order, not in the vertices' order.

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

          Did the same thing :/

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

            Me too :(. I spent an hour trying to mess around with permutations and random $$$dp$$$ states after figuring out the sum of $$$a$$$ was $$$N - 1$$$.

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

        To be honest, that was only an intuition during the contest, basically, for every edge you have options for which ending node you select first. Since it's a tree there will be no cycles, so it's a good ordering. My first idea was $$$N!$$$, but that didn't work with sample. Probably double counting something. Definitely not a proof, let's wait for editorial :)

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

          As _Ash__ wrote below, it's simply the number of ways to orient all edges. In different ways there are different arrays, that simply follows from a mathematical induction like one you mentioned — starting from leaves and rising up.

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

    You can transform the situation a bit like this: You have a tree, and you have to make each edge directed. The value of each node is its indegree. The problem becomes a lot more approachable now.

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

Nice round Thanks! Was the pretended solution for B brute force from n — 200 to n ? or will it give TLE in system test?

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

Difficulty in my opinion: E > B > C > D > A, B is my nightmare, the most right thing that I do is to skip B after 40 minutes of struggling.

In problem D you just need to know one trick: A string that contains n number of "a" and n-1 number of "a" separated by others (like 'bc' or 'b') can satisfy the condition.

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

Like I have wasted about an hour over B then I have come up with this solution. Link to Solution

Still, I don't know what's logic behind this solution.

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

How to judge D...?

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

    Just a plain suffix automata and check if every node occurs an odd number of times in $$$\mathcal{O}(n)$$$.

»
3 года назад, # |
  Проголосовать: нравится -23 Проголосовать: не нравится

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

nice problems with short statements!

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

I know editorial will be here soon but I can't wait how do you solve A

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

Problem statements were short and concise,but round was tough.

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

Another Ehab in town ?? Well I liked the problems though, worth brainstorming!

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

BIT-forces

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

It was very memorable round.

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

another div1 Contest.Hahaha

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

How did you solve B ?

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

    Check all pairs from the right-most one (N, N — 1).
    As K cannot be greater than 100 and Ai || Aj will always be strictly less than 2N, a brute-force solution should work.
    The loop is to be broken when the maximum possible value for the current pair is lower than the current max value (max. possible value would be i * j — k * 0).

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

    I just searched in last 1000 elements but i don't think it will pass main tests

    Edit:it did pass but barely

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

Wow, that was a very beautiful E problem, thank you! All around the round was nice, though for me D and B should've been swapped in difficulty...

Also, codeforces is very weird with rating around 2100, it's much easier to drop to high 2000's and get a bunch of rating in div2, than to get rating in div1 with low 2100's.

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

How does titles of tasks related to each other and tasks itself?

»
3 года назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

Best Output Format Ever

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

RIP Bitwise-operator.

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

would rather suggest to make it unrated

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

I don't know why but Codeforces felt like Atcoder today!!

»
3 года назад, # |
Rev. 2   Проголосовать: нравится +14 Проголосовать: не нравится
B
C
D
»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

https://codeforces.com/contest/1554/submission/124184154 sorry for this stupid question, but for question A, I don't understand why it get diff ans in testing, I got the correct ans in local. (g++ 14)

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

    Long is int on Codeforces testing system. Anyway, long isn't enough to keep 1e18. Use long long instead!

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

Tasks were really good, my mind became more powerful, thank you! And accept my condolences about your father.

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

A :)

B :|

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

what's wrong with my solution: 124171044

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

Horrible round to me, only thing I could do was blaming myself...

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

Sorry for the first version. I don't want to explain what did I think that time.


The round have two problems of Bitwise-operators, and they are hard for people like me to solve. And I think so many great participants lost their ratings in this contest, so maybe we can make this contest unrated for them.

But you ask me... I think it's okay to keep this round rated. But I suggest, don't write those problems in one contest again!

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

    What do you mean by "too many"? Did any other problem involve bitwise operators apart from C?

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

I am hoping an amazing editorial from YouKn0wWho

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

Really suggest making this round unrated.

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

sadge spent 2 hours not realizing loop variables i * j overflows :(

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

This round is rated for future LGM participants whose current rating is ≤2099

But it is advised that you are already LGM before attempting ;)

Serious point: interesting problems, short statements, but this is probably too difficult for a Div 2 round.

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

Wow, these were REALLY short statements

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

A-D(hoc)Forces

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

How to prove that time complexity of B is not O(n^2) YouKn0wWho ??

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

    Lets take if you take $$$i=n, j=n-1$$$ the worst case gives you as a result $$$n(n-1)-k(a_n|a_{n-1})$$$ with $$$a_n|a_{n-1}$$$ maximized. It's easy to check that $$$a_n|a_{n-1} \leq 2n$$$ so you know that $$$n(n-1)-k(a_n|a_{n-1}) \leq n^2-n-2kn$$$

    Lets take $$$i=(n-a)$$$ and $$$j=(n-b)$$$ and take the best case= $$$a_i=0, a_j=0$$$, you get $$$(n-a)(n-b)=n^2-(a+b)n+ab$$$.

    Now the key observation is to notice that:

    $$$n^2-n-2kn>n^2-(a+b)n+ab$$$

    iff

    $$$(a+b)n-n-2kn>ab$$$

    iff

    $$$(a+b-1-2k)n>ab$$$

    which is true if $max(a,b) > 201$ so you only have to check the last $$$200$$$ elements of the array

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

Woah!!This was an amazing round,lived up to the hype.

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

Instead of solving E, I think it's quite more interesting to think about how to write the checker of D.

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

I misread problem $$$D$$$ and before solving it, I've solved a different problem which was quite interesting, so I'll share it:

The problem is the same, but instead of $$$N$$$ beeing the size of the string, let $$$N$$$ be the sum over all occurrences of strings only consting of one character. And $$$N \leq 10^{12}$$$ seems to fit

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

I'm curious how the system tested in D. Maybe using suffix automaton?

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

In problem B, since 0 <= a[i] <= n, we have a[i] | a[j] <= 2n and k*a[i]|a[j] <= 200n. Then for big enough n, let try all pairs among last m indices (we will choose m later). We can prove that the result will be in there. The worst case for last two indices is: n(n-1)-200n (and notice that the answer is at least that number). The best case for the uncheck indices is: (n-m)(n-m-1). We need to have: n(n-1)-200n >= (n-m)(n-m-1) or n(2m-200) >= m^2+m. In the contest, I choose m=400 with n >= 800.

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

Very nice problems, although I feel like the position of B and D should be swapped. I especially liked C. The statements were so short it felt like I was solving AtCoder problems. Thanks for the contest!

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

MikeMirzayanov I submitted A at codeforces.com and I got a server error, so I went to m2.codeforces.com and I submitted it there the same exact code then codeforces.com started to pick up and my code for A actually went through despite the server error I got. now, what happened is I have the same code uploaded twice and the system skipped the first submission and judged the second one which leads to less points. my submissions:

https://codeforces.com/contest/1554/submission/124135925

https://codeforces.com/contest/1554/submission/124135472

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

Anyone noticed that ,there's no Successful hacks in this round!!!

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

Finally a great contest with very strong pretests!

May your Dad rest in peace my friend YouKn0wWho, he should be proud of you

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

Problems were really good.Thanks.I personally want more contests from you YouKn0wWho

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

Is anybody able to help me understand what is wrong with this hack generator? It says "Validator 'Validator.exe' returns exit code 3 [FAIL Expected EOLN (test case 1, stdin, line 3)] close" It is for problem B

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

Fast Editorial! SpeedForces!

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

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

To not keep you waiting, the ratings are updated preliminarily. In a few hours/days, I will remove cheaters and update the ratings again!

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

    hello Mike.. Why cheaters are not removed from the last 2 rounds??? I saw plagarised solution but still that person is rated

»
3 года назад, # |
  Проголосовать: нравится -22 Проголосовать: не нравится

What's the point of setting problems in this manner. There should be a certain level of uniformity in the increase of the standard of problems. Can't just set a problem having a rating around 1000 and then just move to 1800-2000 rated type problems. Looks like the problem setter was just trying to show off his skills.Totally demotivating for newcomers. There should always be a balance among the distribution of problems. I urge MikeMirzayanov to not allow these kinds of people to set problems for such a highly rated platform who just want to show off their skills and nothing else. I believe that even the high-rated coders will agree with me on this point.

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

    You know, it's hard to aproximate the difficulty of a problem with only a few testers. Nobody is trying to show off anything, other than the abillity to create problems with short statements and good pretests.

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

Nice problemset but days like these i wish to kill myself

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

Time limit are too strict for python which cost me C problem for this round.

I got tle for my python solution https://codeforces.com/contest/1554/submission/124177594

where as when submitted same logic in cpp it passes. https://codeforces.com/contest/1554/submission/124191191

Please give some extra time to python coders and please try to keep time constraint flexible for every language.

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

Great Round! Problems were good and required thinking! I found problem B to be the best! (out of A B and C)

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

SOS solution for B without taking into account the small k 124191286

»
3 года назад, # |
  Проголосовать: нравится -81 Проголосовать: не нравится

It is a perfect guide how not to make contests. All problems except D are complete trash, you just look at them and instantly realize they are trash.

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

    Why are they trash?

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

      Because they match the typical patterns of bad problems:

      1. You are given an object, you need to find another object when some complicated condition is true.
      2. You are given an object, you need to calculate the number of ways to construct some complicated object when some condition is true.

      You, being a coordinator, must know it.

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

        It's a pattern of good problems

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

          No. Reread and pay attention to the word "complicated".

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

        Most problems match those patterns, just usually implicitly. In this case, the statements were simplified so that you don't have to go through trashy stories to get to the problems. I think a majority of people prefer it that way. Problems C and E especially can be rewritten in a way that are less explicit, the author just chose to present them like this (and I prefer it that way).

        It's the solutions that matter, not the problems.

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

How is "yaaaazaaa" a valid answer for n = 9 in problem D. Isn't substring "aaa" occurring twice in the string??

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

Alhamdulillah!!This is the contest I have been waiting for so long!!! finally I am blue and that's also in a contest organized by a programmer from my own country. I will never forget this day!!

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

Thank God I skipped this one.

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

I got a high rank in this Round,but I still think this Round a not really good one.That is,Problem E is too easy as the final problem of a Div 2 only Round.

Besides,Problem D is too easy.I think it will not be harder than *1200.

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

How can Karry5307_AK_NOI2024 solve C at 00:16:27 and solve D at 00:16:13?

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

Karry came back with ssh and got a nice rank in the contest.Karry,the god of ssh! Why Karry is not rk1

because his ssh is so great that He can solve these problems within 0.00000000000001 second.

He just wanted others enjoy the contest so he just be rk2 of div1/2,rk 1 od div2,How nice he is!!!

Karry & ssh forever!!!!!!!!!

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

    It's true that Karry5307 use ssh to cheat in Chinese OI contest and he should be punished.
    But we don't need to demonize ssh itself.It's not such a terrible thing if we use it properly.
    Just calm down.

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

    some explaination:

    Karry5307 (very probably) cheated in the provience team secletion test.

    Most agree that he got the address of others' computer the day before and then used ssh to copy their codes in the contest. Of course he rewrited them by himself.

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

      An excerpt from the official document(Chinese):

      Rough Translation: According to [some document], the provincial team of Hunan(a province in southern China) consists of 5 Class A members and 9 Class B members. According to the reports received during the public notice period, competitor HN-0117(sidenote: this is Karry5307) copied other people's code during the contest, thus resulting in zero marks in two of the six problems.

      So he didn't get into the provincial team at last XD

      Actually, before the contest, he said something like this

      The last sentence means: "What can I do during the contest? If I didn't get a Class A place in the team, I'm performing badly in the contest."

      Looking back at that, this is somehow funny.

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

      It's really a shame that he cheated in such kind of large-scaled formal competition. In fact, his own strength is relatively strong. He could have achieved his ideal through his own efforts, but now he has to be away from OI and CP. As a younger student than him of the same school, I feel very sorry for this.

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

    are such jokes really interesting? u really have a vulgar taste.

»
3 года назад, # |
  Проголосовать: нравится -30 Проголосовать: не нравится

Karry5307 AK IOI!!!

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

GG :)