mesanu's blog

By mesanu, 6 months ago, In English

Hello Codeforces!

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

It starts on 21.04.2022 17:35 (Московское время).

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: SixtyWithoutExam, magnus.hegdahl, Vladosiya, MeGustaElArroz23, Sho, bakekaga, geranazavr555, doreshnikov, jampm, Neophiliatic, down and VIP-tester _Vanilla_.

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

Good Luck!

Update: Editorial

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

»
6 months ago, # |
  Vote: I like it -91 Vote: I do not like it
  • »
    »
    6 months ago, # ^ |
      Vote: I like it +26 Vote: I do not like it

    Thanks to MikeMirzayanov for polygon platform.

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

    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...

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

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

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

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

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

Hope I turn Pupil this round

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

As a VIP-tester, I tested

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

    Oh, that must be nice...

    But can somebody tell me?!
»
6 months ago, # |
  Vote: I like it -66 Vote: I do not like it

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

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

jampm the best tester Upd: the second best tester

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

    Sorry but I do not see his VIP status, opinion rejected.

    UPD: They realised I am the best tester.

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

    i cannot believe how CF got jampm for tester, he is known as a God. Very humble participating as tester.

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

Finally time to be Cyan , i hope :'(

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

From now, can we expect div-4 frequently ?

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

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

I can't wait to see problem ratings lol

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

problem D will be very interesting i swear

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

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

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

What about score distribution ?

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

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

    Its just number of problems solved + penalty

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

Me to me : it is your chance to turn Cyan xD

images-2022-04-19-T215326-723

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

"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.

»
6 months ago, # |
  Vote: I like it +60 Vote: I do not like it
:)
»
6 months ago, # |
  Vote: I like it 0 Vote: I do not like it

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

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

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)

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

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

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

So delighted after seeing the name ERRICHTO on the top ❤️

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

my first contest as an unofficial contestant, hope all contestants gain high ratings.

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

my time has come

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

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

First Div4 contest for me. Hope my rating increases after the contest.

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

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

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

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

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

How will rating be given to non trusted participants.

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

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

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

div.4 awesome all easy problems.Thanks!!!

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

Just realized out of 10 Level of Colors

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

Excited for giving this round

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

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

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

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

Do virtual participations count for being trusted?

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

What a great time to be rated 1399

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

is div 4 back again ?, and will it be held every month from now?

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

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

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

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

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

Good luck for everyone!!!

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

Good luck, everyone!

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

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!

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

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

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

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

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

Hooray, round for my level)

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

Pupils And Newbies Mates Let's Go

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

my first unrated round

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

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

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

It is possible to change the handle name?

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

Hope that I will be able to solve at least 2 problems

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

I hope ak!

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

Thanks to MikeMirzayanov for polygon platform and CodeForces team!

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

Feels weird to say MY FIRST UNRATED ROUND!!

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

awesome combination of testers!

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

Cool Round! Good luck to everyone :)

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

This going to be my first contest .

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

Deleted

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

First unrated round for me)

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

My first Div 4 ) Good luck guys !

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

Div 4 round is a hope for newbie to become pupil :)

»
6 months ago, # |
  Vote: I like it 0 Vote: I do not like it
Those who know, knows.
»
6 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Is it rated?

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

FastFingersForces

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

Previous div4 was probably harder than this

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

    I still can't do the third problem of that div 4 contest. and here solved all the problems.

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

fanserviceforces

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

D is the hardest

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

The easiest contest ever proposed in the history of universe.

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

I went rainboy mode in this contest.

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

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

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

Great round for 4th division!

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

Me in this contest

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

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

AKed, but I've got a huge huge huge number of penalty because of long long TAT BTW, why I submited two same code but got two different results(One is AC and the other is TLE)

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

Oh man, I wish I could have some more time.

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

First time solving so many problems in a contest good feeling.

Sucks, that I spend too much time on problem D before moving to problem F, which I felt was very simple.

Looking forward to future Div. 4 rounds.

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

Awesome contest...never felt sooo confident ;)

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

Fastest finger first

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

where i will get link of this div4 contest for upsolving

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

Wonderful Contest!!

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

I feel bad that I did not check the next problems earlier, just because I assumed that they would be too difficult.

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

Thanks for the contest!Interesting and good problems!

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

F is easier than E

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

IT WAS AWESOME!!!!!!!!

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

was able to solve only 1 problem.

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

This is so far my best contest where I solved most problems. Thanks for organizing div4

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

Thanks to everyone who organized this contest today.

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

Thank you for the round!

I enjoyed solving this contest's problem a lot.

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

.

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

    You are modifying the input strings themselves, pretty sure you can't do that.

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

Thanks for everyone has organized Div4 today! Such a great contest for a newbie like me :3

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

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 ?

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

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?

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

    try to use map to count the stirngs

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

    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

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

LightspeedForces / HyperspeedForces

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

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. :)

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

What a contest it was! Seemed like a rollercoaster! Had so much fun. Thanks for this contest.

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

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

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

    combinatorics ig

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

    Store frequencies of all strings in a map. Then iterate over all possible combinations of 2 letters using 4 nested loops from a to z- cost: 26^4

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

    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 months ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      Hi, I had just one question regarding this problem..

      Take this testcase

      1 3 ab bc ca

      Why is everyone's solution (including yours) giving answer as 0 while it should be 3 ("ab", "bc"), ("bc", "ca") and ("ca", "ab")

      UPDATE : nevermind..sorry for disturbing u.. I figured it out that they should be different at the same position

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

    Let cnt(a, 0) be the number of strings with 'a' in 1st position, and cnt(0, b) be the number of strings with 'b' in the second position, and cnt(a, b) be the count of the string "ab".

    Now for each given string s, add cnt[s[0], 0] + cnt[0, s[1]] - 2*cnt[s[0], s[1]] to your answer. This will count each pair twice, so divide the answer by 2.

    154357623

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

    Thank you all!

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

    We need to count number of strings which differ in only one position , so they will be of two types :

    Strings starting with some character like : ab , ac , az , ... so on

    Strings ending with some character like : xb , yb , zb ..... so on

    You can consider the two cases separately.

    Suppose we have strings starting with letter a = ["aa" , "ab" , "ab" , "ab" , "ac" , "ac"] .

    Then number of pairings will be (total pairings) — (pairings having equal strings).

    So in the above example we have ,

    total pairings = C(6,2) = 15 ,

    pairings (having equal string) = C(1 , 2) + C(3 , 2) + C(2 , 2) = 4

    so our ans will be 15 — 4 = 11 for the strings starting with letter 'a'.

    Repeat the process for the remaining starting/ending characters.

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

      Hi, I had just one question regarding this problem..

      Take this testcase:

      1 3 ab bc ca

      Why is everyone's solution (including yours) giving answer as 0 while it should be 3 ("ab", "bc"), ("bc", "ca") and ("ca", "ab")

      UPDATE : nevermind..sorry for disturbing u.. I figured it out that they should be different at the same position

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

nice! hope to have more div 4 in the future

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

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

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

Div4 Round is very interesting for beginners like me.

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

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.

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

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

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

I hope we can help more div4. Thanks for a very nice round.

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

This is the most enjoyable contest i have ever attended! (I participated in 60 contests split between 2 accounts)
I really hope that it will be repeated again soon, Thanks!

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

self-deception forces

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

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

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

Hi, can someone point out why i am getting wrong answer here for Question F. If i am running that test case on my system then i am getting the correct output but here it shows a different output. Can someone point it out why. Thanks in advance.

Code : https://codeforces.com/contest/1669/submission/154423744

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

    In some cases, the temp variable turns out to be uninitialized. I think the error is related to this.

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

      yep yep. Garbage value. Thanks got the sol

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

better try to arrange more div3 contests , div4 is more like speedforces -_-

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

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

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

Why this solution 154288735 WA?

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

    You're mixing output streams (cout and puts) and they don't keep their order because the sync with stdio thing is set to false. I just commented that line and accepted.

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

Would be happy to see div4 more often)

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

was this first div 4 round

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

No————, I've just found that take part in at least five rated rounds (and solve at least one problem in each of them), so this round is unrated for me........

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

    The round is rated for you.

    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.

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

though it is still too hard for me temporarily, but i slove three problems myself finally. so happy and great thankness to the authors of this round, for letting beginners like me can have a good trip for programing, i do will work harder to solve more problems next time :)

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

Good contest see you all in other two years

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

When the rating is going to be reflected?

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

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."

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

    That is the condition of being a trusted a participant

    It is rated for you and everyone who has rating < 1400

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

my rating is 584, why is this round unrated for me?

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

We want more div 4 contests

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

let's go!

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

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

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

    Hi... I am receiving messages from the system that my solutions for this contest coincide with bakchod_iitbhu. I am sorry for my actions, but I have not done anything wrong or cheated. bakchod_iitbhu 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

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

    BKL mike you can't be negative

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

why this sub 154484811 for F gives TLE ?

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

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

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

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

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

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

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

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

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

This round should be unrated. I faced a lot of problems. Codeforces was too slow.Many times were wasted for this. After that I became bored and left the contest. It is not fair to rate this round. I even asked the authority whether it was my problem or their. They told they were trying to fix it.

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

Hii, could someone tell me that during the contest question F is accepted but after the contest, it shows TLE in question. I don't know what was the reason.

Here is my code:

include <bits/stdc++.h>

using namespace std;

int main() { long t; cin>>t; while(t--) { long n; cin>>n; long a[n]; for(int i=0;i<n;i++) cin>>a[i]; unordered_map<long,long> mp; long sum = 0; for(int i=0;i<n;i++) { sum += a[i]; mp[sum] = i; } long back_sum = 0; long ans = 0; for(int i=n-1;i>=0;i--) { back_sum += a[i]; if(mp.find(back_sum) != mp.end() && mp[back_sum] < i) { ans = max(ans, mp[back_sum] + 1 + (n-i)); } } cout<<ans<<"\n"; } return 0; }

could someone tell me why I was getting the TLE in this.

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

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?

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

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?_

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

I made a mistake.I was sitting behind this guy in the library of my college and I couldn't help but copy his code when he went to the washroom. I am sorry. Hope this could be resolved and his account not be blocked and neither mine.

»
5 months ago, # |
  Vote: I like it -12 Vote: I do not like it

Attention! Your solution 154398019 for the problem 1669G significantly coincides with solutions Niko919/154381394, Anas_Maged5/154398019, Kamrozzaman/154412011. 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 blocked.

This my solution https://codeforces.com/problemset/submission/1669/154398019 And this is the other guy solution https://codeforces.com/problemset/submission/1669/154381394 There is a misunderstanding The two solutions are similar because the problem is an implementation type so it is something normal to find the solutions somewhat similar .

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

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...

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

    I'll fix all such issues after the global round or tomorrow.

    • »
      »
      »
      5 months ago, # ^ |
      Rev. 3   Vote: I like it 0 Vote: I do not like it

      I got these messages but I don't know how these codes are similar. I have never done such things and also never got such messages before and what will I do after cheating in DIV-4 as it was already unrated for me;). MikeMirzayanov Please look into it.

      Attention!

      Your solution 154361635 for problem 1669G significantly coincides with solutions coder_vk/154361635, Daqlet/154366245. 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 blocked.

      Solutions- https://codeforces.com/contest/1669/submission/154361635 https://codeforces.com/contest/1669/submission/154366245

      Attention!

      Your solution 154365782 for the problem 1669H significantly coincides with solutions coder_vk/154365782, Daqlet/154372523, bhadrayu_18/154412978. 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 blocked.

      Solutions- https://codeforces.com/contest/1669/submission/154365782 https://codeforces.com/contest/1669/submission/154372523 https://codeforces.com/contest/1669/submission/154412978

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

      MikeMirzayanov any good news about this issue ?

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

      up up ⬆️

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

I got the mail too. But in contest time I solved the first two problems within 8min. Due to an unavoidable situation, I had to leave the contest for some time. Again coming back I submitted more two problems.

IDK why plagiarism has arrived as I solved my own.

Looking forward to hearing from you about the solution. Kindly check all 4 skipped solutions ASAP.

check here

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

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

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

It is just a coincidence that my answer is matching