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

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

Hello Codeforces!

SlavicG, flamestorm, MikeMirzayanov, Errichto, and I want to invite you to the long-awaited second Div. 4 round!

It starts on Apr/21/2022 17:35 (Moscow time).

The format of the event will be identical to Div. 3 rounds:

  • 5-8 tasks;
  • ICPC rules with a penalty of 10 minutes for an incorrect submission;
  • 12-hour phase of open hacks after the end of the round (hacks do not give additional points)
  • after the end of the open hacking phase, all solutions will be tested on the updated set of tests, and the ratings recalculated
  • by default, only "trusted" participants are shown in the results table (but the rating will be recalculated for all with initial ratings less than 1400 or you are an unrated participant/newcomer).

We urge participants whose rating is 1400+ not to register new accounts for the purpose of narcissism but to take part unofficially. Please do not spoil the contest for the official participants.

Only trusted participants of the fourth division will be included in the official standings table. This is a forced measure for combating unsporting behavior. To qualify as a trusted participant of the fourth division, you must:

  • take part in at least five rated rounds (and solve at least one problem in each of them),
  • do not have a point of 1400 or higher in the rating.

Regardless of whether you are a trusted participant of the fourth division or not, if your rating is less than 1400 (or you are a newcomer/unrated), then the round will be rated for you.

Many thanks to the testers: senjougaharin, magnus.hegdahl, Vladosiya, MeGustaElArroz23, Sho, bakekaga, geranazavr555, doreshnikov, jampm, Neophiliatic, qwexd and VIP-tester _Vanilla_.

We suggest reading all of the problems and hope you will find them interesting!

Good Luck!

Update: Editorial

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

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

    Thanks to MikeMirzayanov for polygon platform.

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

    Can we please get back to programming?

    I truly don't mean for this to come off as insincere, insensitive, or trying to diminish the importance of these events to people's personal lives.

    But that being said...

    Codeforces isn't the place for such debates. I'm not saying these discussions don't need to happen. They do. But them happening on this surface is essentially well-intentioned spam.

    This stuff belongs on social media, or places like Reddit and Discord.

    Alright, I've spoken my peace, bring on the flood of downvotes...

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

As a participant (hopefully), thank you for the round!

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

I was not expect this combination of authors. Will definitely be doing the contest.

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

Hope I turn Pupil this round

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

As a VIP-tester, I tested

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

as a potential participant, 接受我 公众 我需要现金

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

jampm the best tester Upd: the second best tester

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

From now, can we expect div-4 frequently ?

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

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

I can't wait to see problem ratings lol

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

problem D will be very interesting i swear

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

As a participant, I hope to be unofficial to div4s after this contest.

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

What about score distribution ?

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

    Div 3/4 and Educational rounds doesn't have score distribution.

    Its just number of problems solved + penalty

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

"We urge participants whose rating is 1400+ not to register new accounts for the purpose of narcissism but to take part unofficially. Please do not spoil the contest for the official participants."
I respect that a lot.

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

As a participant, since when do div 4 contests exist lol.

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

looking forward to 1900 rated F,G. (Totally not an analogy to 2000-2200 rated F,G problems in Div. 3 rounds, but they are sure very interesting for Div. 3 users when none of them can solve the problems xd)

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

My first Div.4 round. This is going to be interesting Thanks for the round!

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

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

looks like I got back to pupil from specialist just to participate in this contest officially xD

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

After a long time finally there is a (Div.4). (REALLY EXCITED) ٩ (◕‿◕。) ۶

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

Specialists be like : Yo maann! Outta competition.(⌐■_■)

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

Just realized out of 10 Level of Colors

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

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

Errichto it is a pleasure to see u after a long time .

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

What a great time to be rated 1399

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

This contest is just a joke, low rating participants should go to leetcode first.

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

Anyone have link for the codeforces extension for the graph and all of this.

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

HAHA, I looked forward to my first unrated round, and it was supposed to be after a long time. But the Div.4 round comes. Thanks!!!

This will be my first unrated round. Good luck everyone!

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

Good luck to all my fellow newbies and pupil. It's their time to shine. All the best :)

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

Can anyone give me the previous(1st) Div-4 round link, plz?

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

Hooray, round for my level)

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

my first unrated round

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

I hope that I'll learn something and get better in a unrated round so that I can earn rates in a rated round.

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

Thanks to MikeMirzayanov for polygon platform and CodeForces team!

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

Feels weird to say MY FIRST UNRATED ROUND!!

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

First unrated round for me)

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

Is it rated?

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

FastFingersForces

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

Previous div4 was probably harder than this

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

fanserviceforces

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

D is the hardest

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

The easiest contest ever proposed in the history of universe.

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

I went rainboy mode in this contest.

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

There are many accounts that was made just yesterday and they are in the top 100 lol

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

Great round for 4th division!

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

Me in this contest

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

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

Fastest finger first

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

Wonderful Contest!!

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

Thanks for the contest!Interesting and good problems!

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

.

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

Can organizers look into this issue. My rank states that I solved all question in 205 penalty and shows rank 265.
My rank
But the penalty of ranks around 260 is way too high and my name is also not in the ranklist.
Ranklist
Am I the only one or someone else also facing this issue ?

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

could not solve E,brute force obviously failed,though of merge sort but could not think how it will be impelemnted here.can someone help?

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

    Keep count of strings that end in character c and that start with character c. Also keep count of all strings in total.

    For any string s, remove it from the counts, add number of strings that end in s[1], number of strings that start with s[0], and subtract count of [s] to avoid overcounting in case s occurs more than once in the list.

    154325997

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

LightspeedForces / HyperspeedForces

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

Since got used to some tight time limits in harder problems I was trying to get a solution of each problem by using (if you will) smart strategy, but now I checked some other solutions and people just pass all test cases with 3, 4 for loops, bunch of while loops etc. :)

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

How to do E? I did a somewhat $$$O(n^2)$$$ solution and it gave me TLE.

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

    combinatorics ig

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

    suppose you are at index i, and you have stored all previous string instances in map

    if you have string ab at this index than

    you can change first char and check no. of occurrence of all such strings

    e.g. for ab -> bb, cb, — kb are such possible strings

    Similarly you can change second char and check no. of occurrence of all such string

    e.g. for ab -> aa, ac, ad ---- ak (after changing second char)

    just add all instances to your solution

    You can check my solution : https://codeforces.com/contest/1669/submission/154337766

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

    Thank you all!

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

where can i get today contest answers? i am curies to refer them

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

Some will say this was a speedforces and this had not many interesting problems. But believe me when I was a beginner I always dreamed of a round where I could have solved more than 3 problems and that could have given me the gear that I was needing to accelerate my learning skills. For me this type of rounds should take place atleast once in every 1.5 months.

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

woohoo first time to experience the feeling of solving all the problems during a contest. it's way better than I thought

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

self-deception forces

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

I answered question number b, But the site told me that the answer is wrong, please tell me where the mistake is my code is here https://codeforces.com/contest/1669/submission/154405569

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

Did you guys faced problem?codeforces was too slow for me.I was waiting for almost 5-10 minutes after clicking on one link.

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

Why this solution 154288735 WA?

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

was this first div 4 round

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

Good contest see you all in other two years

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

When the rating is going to be reflected?

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

is it only me or the round actually previously stated rated for<=1400 Now says "do not have a point of 1400 or higher in the rating."

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

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

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

    Hi... I am receiving messages from the system that my solutions for this contest coincide with shrey_gta. I am sorry for my actions, but I have not done anything wrong or cheated. shrey_gta is my alternative id and I first gave my contest with that id only. Then after that, I submitted all the solutions in one go from my main handle. Also, this contest was not rated for this handle. I kindly request MikeMirzayanov to look into this matter and not block any my handle. I am again sorry for my actions and will not repeat those actions in the future. Thank You

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

    BKL mike you can't be negative

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

why this sub 154484811 for F gives TLE ?

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

    You should pass the vector argument to function bs by reference, not by value. The way you doing it it is copied each time.

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

Thanks for the authors, it was fun! Hope there will be more Div 4 contests in the future.

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

I hope repeating this contest as the same as div 2 and div 3 Thanks for this amazing one!

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

F in the chat for the codeforces rating predictor, it overpredicted everyone’s rating by almost 30

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

Hello MikeMirzayanov My F problem is caught in plagiarism but have solid evidence that I don't stole it and I have solid proof. What should I do?

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

Hello,

[user:SlavicG,MikeMirzayanov,][user:mesanu][user:Errichto] I got plagiarism on My F problem in this contest is coincedence and I have a solid proof about it. Now what should I do?_

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

.

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

I just the got the mail regarding palagrism.Your solution 154314647 for the problem 1669C significantly coincides with solutions Ashishpurbey/154314647, Ashishpurbey/154322351. Such a coincidence is a clear rules violation. Note that unintentional leakage is also a violation. For example, do not use ideone.com with the default settings (public access to your code). If you have conclusive evidence that a coincidence has occurred due to the use of a common source published before the competition, write a comment to post about the round with all the details. More information can be found at http://codeforces.com/blog/entry/8790. Such violation of the rules may be the reason for blocking your account or other penalties. In case of repeated violations, your account may be block.

I hadn't copied any code from any where, I just submmit the same code twice and because of the glitch on codeforce it summited .They are comparing both code from the same ID and giving palagrism. So I requested you to visit this glitch one more time and retuned my rating back.

Your text to link here...

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

Hello,

I got a mail about plagiarism and I'm sure that this one is happened because of some coincidence or straight logic question.

MikeMirzayanov,SlavicG,flamestorm. I wrote code on my own and as you can see that in this submission 154392853 I got TLE on my submission and then I changed my code a little bit like this 154393751 and this one was accepted because of binary search has less time complexity.

PLEASE check out this. I hadn't copied any code from any where. So I requested you to visit this submissions and see what I changed in my code and got AC in my submission one more time and retuned my rating back.

check here