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

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

Hello Codeforces!

ijxjdjd and I are pleased to invite you to participate in Codeforces Round 728 (Div. 1) and Codeforces Round 728 (Div. 2) which will be held on Jun/25/2021 18:35 (Moscow time). Please note the unusual timing. Each division will have 5 problems and 2 hours and 15 minutes to solve them.

We would like to thank:

Read all of the statements carefully, and we hope you enjoy the problems! Wish you high ratings!

UPD: I would also like to thank Roberticey, malachi_toney_goat, and 244mhq for testing.

UPD: Here's the score distribution:

Div 1: 500 — 1250 — (1500 + 750) — 3000 — 3500

Div 2: 500 — 1000 — 1500 — 2250 — (2500 + 750)

UPD: The editorial is out!

UPD:

Congratulations to the winners!

Div. 1:

  1. maroonrk
  2. tourist
  3. Radewoosh
  4. LayCurse
  5. NotaMotuaQAQ

Div. 2:

  1. tampa
  2. CF_is_my_GF
  3. Apple_Method
  4. rin-tohsaka
  5. -this-is-obd-
  • Проголосовать: нравится
  • +490
  • Проголосовать: не нравится

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

Omg purplecrayon orz. Can't wait to solve your geniosity problems

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

I hope everyone enjoys our problems and learns something new!

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

PurpleCrayon is a skilled programmer, and I'm excited to see the tasks he and ijxjdjd have prepared. Good luck to all participants, and hopefully we can see more crayon rounds in the future!

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

Maybe I get purple on PurpleCrayon's round

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

As a tester, give me ..

As a tester I can assure you that you will write purplecrayon orz after contest (before too)

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

Each division will have 5 problems and 2 hours and 15 minutes to solve them. This line scares me.

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

Why is the rating limit for Div.2 is 1899? Shouldn't it be 2099?

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

Score distribution for this round will be really interesting I guess. 5 problems in 2:15 is very challenging

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

Damn, 5 problems in 2:15 hours. Seems like a Div-1.5 :)

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

If both divisions are 2 hours and 15 minutes why here the length is 2 hours?

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

.

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

As a tester, I can confirm problems are awesome! Good luck in the round!

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

Hope to be expert.

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

As someone purple did not allow test the round, give me contribution!

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

As a participant, I hope my fellow comrade Starlight-Sailor and I can become purple in this PurpleCrayon blessed round, unlike last time. Wish us luck!! xD

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

As a tester, I can say that I enjoyed the problems. Good luck to everyone participating :)

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

I hope my colour change with a +ve delta :)

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

Unfortunately, most of IOI participants can't participate in this round :(

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

I think upcoming contest was little bit tricky..so,I hope u all are enjoying this contest and learns something new!

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

Excited for the round, knowing the writers I have no doubt it will be great!

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

I wish problem statements would be as clean as this announcement

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

I wish that this contest has Graph theory and DP related problems !

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

66.

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

I will remember the contest start time properly this time, the previous contest div 2 which I thought usually to start at 20:05 but it was around 3pm RIP

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

PurpleCrayon is not even purple Sadge

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

"You, for participating!" This line hit hard :(

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

As a cyan, D seems not killable.So, speedforces :(

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

Really excited to participate in div2.. All the best everyone.

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

The scoring distribution for div2 is weird. I hope I get positive delta.

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

I hope i can solve at least 3 questions.

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

Can anyone tell what does (1500 + 750) mean in the score distribution? Does that mean the score of the question can be (1500 or 750) or does that mean the score would be 2250?

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

Hope that I can become a crayon today ^_^

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

Is it logical that the second part of the last problem of div2 has the same score as in div1 (750)?

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

.

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

how to solve D when you are green?

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

So are we solving E2 after A?

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

I wish everybody an awesome codeforces round

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

gl

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

i think today i become pupil

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

Anyone in Div 2 feeling like they accidentally participated in Div 1?

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

Speedforces, redefined.

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

The game of hand speed.

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

The expected value to solve D by myself is 0.

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

Most difficult div.2 D ever?

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

Never seen such a big jump in difficulty from C to D

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

What is Normal Red?

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

Div 2 is definitely a speed force.

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

speedforces

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

I have no idea on 1B or 2D, wtf

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

Some relavant meme:

1624641267990-1

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

ive read all the problems and they are really nice good job!

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

Solved 3! Then saw D. WTF only 13 submissions!?

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

Forget about it

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

I feel like this was speedforces but at the same time wasn't speedforces :)

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

So by Div 2 u meant Div 1.5

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

Good and challenging problems ! Good job but the difference of difficulties of problems between c and d was a lot !

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

Literally 15 mins on 1A and 2 hours on crying

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

Screenshot-20210625231411-140x49

That sums it up :(

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

I hate probability.

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

Me in Div2 today:

First, solve three problems.

Second, look at the accepted number of problem D

Third, give up and go to the comment section.

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

DIV-2: When I solved B there were ig 200-300 people who solved C, When I solved C there were 2 people who have solved D. Got the idea about the question before reading it.

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

Am I the only that forgot numbers in B are distinct and wasted more than 20 min because of that

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

Seems like I'm getting dumber with each passing day, half of the world solved C in one go.

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

What should the answer be for the 3rd example testcase for div2D? I got 141/40 = 925000010 but it should be 500000007. What's the actual fraction that gives 500000007 though?

agh i think i figured it out.. I was computing the probability of marking X before Y, given the heights from the root of X and Y, but it really should have been the heights from the LCA of X and Y, not from the root. :(

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

Thanks for the contest! I really enjoyed it.

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

The maximum boring problem set in Div2. Three observation based problems, and D + E ridiculously difficult. The contest was practically over after 20 minutes.

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

ok ...i hate my life now

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

I entered 25 minutes later and after 35 minutes I left by topping in my room! This line describes the contest!

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

MEET AN EXPRIENCED & SHAMELESS CHEATER This is how Master_Jiraya bypasses Plagiarism testing.

i reported to codeforces and MikeMirzayanov about him from past 2 contest and he does cheating in it also and got plagiarism , thanks to u for upvote my comment so that he got punished . and today again he cheated in the contest , pls again upvote my comment ......

Master_Jiraya does cheating from starting and i reported about it to MikeMirzayanov and he got plag in last 2 rounds , he abused me in private chat becz i reported him https://ibb.co/JmhSwKL . guys show your support and again upvote my comment so he again got punished.

People like Master_Jiraya are spoiling the sport. I don't understand where would cheating take them in life. They will never get anywhere in life but always remain what they are i.e cheater. He should be banned from the platform as soon as possible . MikeMirzayanov sir pls ban him and skip his solutions .

his todays contest submission 120565019 120557120 , saw his submission timing and also see this dummy variables snippet

xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++;xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++; xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++;xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++; xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++;xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++; xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++;xx[3]++;xx[1]++;xx[3]--;xx[1]--;xx[5]++;

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

Can anyone explain Div2 problem C

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

..

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

My logic for C, take the sum of differences of all pairs and subtract the difference of adjacent elements from it and print the answer with a negative sign. Why is this failing?

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

    The answer is take the absolute differnce of each pair and then subtract maximum value from array d and then multiply with. 1 , The logic is that to minimise the cost you should add as many -ve no. You can and as less +ve no. You can , So for +ve no. you will take maximum no. As the sum of difference between adjacent sorted no. will lead to it and for -ve add All -ve no.s .

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

How to solve B ? I don't know how it can be solved in o(n)

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

    It's not O(n). Rewrite the eqn as aj = (i+j)/ai

    Now, as aj is an integer, i+j must be a multiple of ai, you need to check only ai blocks in each case. Since ai is distinct, this is similar to prime sieve in terms of time complexity.

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

    Let us start with the brute force approach..

    You would initialise two for loops.. one from i (1 to n) and the inner one j (i+1 to n) .. iterating over all values and obtaining all such pairs. However, this would take order of n*n and is not feasible.

    So, the key observation is it can be reduced to approximately nlogn per testcase, by only considering the valid indices that occur after i that are themselves multiples of a[i] , incrementing j by a[i] each time. The first such j for which i+j is a multiple of ai can be found by simple math (because ai*aj=i+j, so i+j has to be a multiple of ai).

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

    Based on what I observed in my room, there were 2 major ways to solve B: Either an $$$O(n\sqrt n)$$$ solution or $$$O(nlogn)$$$, which I thought was pretty cool.

    $$$O(n\sqrt n)$$$:

    First, create a map $$$where[n]$$$ for all $$$a[i]$$$ -> $$$i$$$. Now, iterate over all integers $$$i$$$ from 1 to $$$2n$$$. Get the factors of each integer $$$i$$$. Now, for each factor $$$f$$$, check if $$$where[f] + where[i/f]$$$ = $$$i$$$. If so, increment the answer.

    $$$O(nlogn)$$$:

    We iterate over every multiple $$$k$$$ of each $$$a[i]$$$ and check if there exists an index $$$j$$$ where $$$j \gt i$$$ and $$$j + i = k$$$. If so, check if $$$a[j] = k$$$. If so, increment the answer. This works since all $$$a[i]$$$ are distinct, so the time complexity is bounded by the harmonic series $$$n (1 + \frac {1}{2} + \frac {1}{3}...)$$$ which is well known to have an upper bound of $$$O(nlogn)$$$.

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

How to solve problem C ?

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

    Sort the input as the order of pastures doesnt matter.

    Then notice that more the roads between pastures more minimal the time will be.

    Now create a difference array from the sorted array as they will correspond to our postive edges in graph.

    Now we take make negative edges for every pair of pastures.

    The sum of these will be the negative of sum of all subarrays of difference array(Call it NEG). This can be calculated in O(n) using contribution technique.

    So final answer would be sum of positive edges(all elements in difference array) + NEG.

    This is greedily the minimal ig. You can check my submission out. I feel it is neat.

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

    Note that you need to arrange the vertices in such a way so we minimize the sum of positive edge, which can be done by sorting the array and taking minimum times to be a difference of two consecutive elements.

    Eg:- $$$w x y z$$$ be the sorted array then $$$(x-w), (y-x)$$$ and so on will be the costs of edges which gives a path from patch 1 to all patches with minimum positive cost.

    Now we can need to add negative backward edges to make the total sum of each cycle zero. Let us say the edges are $$$a,b,c,d,e$$$. Then the negative edges cost will be $$$N=(a+b+c+d+e) + (a+b+b+c+c+d+d+e) + (a+b+c+d+b+c+d+e) + (a+b+c+d+e)$$$. Each term corresponds to nullifying cycles of with 2,3,4 and 5 vertices respectively. Generalize the summation for $$$n$$$.

    The answer would be $$$a+b+c+d+e-N$$$.

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

Is there any chance to pass Div.1 D by $$$O(n^2 \log n)$$$ solution...? I know $$$3e9$$$ per second sounds insane :(

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

Hello! Nice problems but the leveling of the questions was not very good. D Div2 was very hard

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

Div2D was so hard, only 18 people solved it.
I thought of doing something like this:

For the tree rooted at $$$i$$$, what's the probability that node $$$j$$$ is reached before node $$$k$$$?

And inversion counting like that, but I didn't work out the details of how to figure that out.
Was the intended complexity $$$O(N^3)$$$?

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

How to solve Div 1C/2E?

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

    it seems that initial array is valid if and only if $$$\sum_{i=1}^k a_i \ge \sum_{i=1}^k (x+s_i)$$$ holds for all $$$1 \le k \le n$$$, where $$$s_i=\sum_{j=1}^{i-1} b_j$$$. But I have not submitted, so i have no idea if there is anything wrong or not.

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

Couldn't submit 1B by 10 seconds :(

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

Well I'm glad to see I wasn't the only one having trouble with 2D. It's a nice problem though, I think I have a solution but it will take me a few hours to implement it.

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

Biggest drop of my contest history. Well, worth a fall if I hope to perform well again!

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

Felt like the entire contest was me making little progress on C1 and secretly hoping the solve count would stop rising :P at least I did well in the speedforces race.

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

How to solve div-2 D ??

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

Anyone remember when galen_colin said that your rank can really depend on the time you take to solve the problems? Welp, it's even more severe this contest, being from positions 19 - 4269 (approx).

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

PurpleCrayon, I liked the problems a lot, but I think that most of Div. 2 participants will disagree and say that it was not very balanced, turning things into speedforces somewhat

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

Pure speedforces

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

c

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

Check out time complexity for problem B

If anyone has better approach then you can add here

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

The problems are pretty good,but the diffculty gap between Div2 C and Div2 D are too big,making this Div2 round a "speedforces" round,so to my opinion,not very enjoyable because the round is not very balanced. Again,the contest is great,but I think there are room for improvements.

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

how to solve B div2

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

    Iterated i from 1 to n-1; We have to find the all the possible (j>i) & (j<=n) which satisfy the given condition.

    For this number at ith position. i+j can range from i+i+1(a) to i+n(b);

    v[i]*v[j] = i+j.=> We have v[i] and range of i+j in hand. So what is the possible range of v[j]? ((a/v[i]) + (a%v[i]==0?0:1)) (c) to (b/v[j]) (d);

    Now iterate from c to d (possible v[j]) and find whether the number in this range exist at respectively jth index, such that a[i]*a[j] = i+j;

    Take sum.

    Time complexity should be ~ O(nlog(n)). The range of c-d is maximum when a[i]=1 ~ n but since all numbers are different so if at next index a[i]=2 then range of c-d shuld be n/2 . Now n+ n/2 +n/3 + ... ~ O(nlog(n))

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

    For each element you can find the number of elements that have product less than 2*n that is max(i+j). By mathematics you can prove that total such pairs are not more that nlogn. Hence brute force will work under time limits.

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

Where are those cats with their generosity problems now?

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

The gap between div2-C and div2-D is too large so if u submit some wrong answers in the first three questions u get a bad rank...

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

First time to solve a problem as difficult as div1D!

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

This is the most difficult Div.2 problem D I have ever seen.

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

120609085 my sweet O(NQ) solution has passed... :)

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

Can somebody post the screen with Swistakk's comment about $$$O(n \cdot \sqrt{n} \cdot \log(n))$$$ vs $$$O(n^2)$$$, please?

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

Is there going to be a hacking period?

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

why downvotes?

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

    Multiple reasons for you getting downvotes.

    1. You didn't even mention which problem. Man, how do you expect to get help?
    2. Second, no one is going to voluntarily debug your code (unless he is too kind). There is a certain approach to ask for help. That is to share your logic, and people will find out what you are missing.
»
5 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

What I don't like about observation problems that it is too easy to cheat and too difficult to catch the cheaters

And this was like all the problems were observation based

Even though I kind of tired of cheaters topics as well

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

How to solve D? Can anyone explain? Never seen such a big difficulty jump between C and D.

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

How to prove the correctness of problem C's solution?

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

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

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

the round wasn't balanced :(

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

how to solve D?

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

Very enjoable contest! Very enjoable not math tasks! Very enjoable raiting everybody've gained! Very enjoable enjoy i've felt. Good job! Good job! Good job!

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

Did anyone noticed weird template of this guy tampa (Rank 1 in today's div 2 contest)

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

Diego nice

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

Whats-App-Image-2021-06-26-at-12-08-24-AM

:'/

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

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

This round, Will be rated?

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

MikeMirzayanov PurpleCrayon I received a plagiarism notice. But I don't know on what basis I got the Plagiarism. I dont even know him and A problem was so simple that one can have exact same code since we only need to swap the elements adjacent element and swap the last 2 element if it is odd.. Many could have thought the same solution .. Please Look into this.. I wouldn't consider it a plagiarism! I have given like more than 50 contest and why would i do this kind of thing !! His code is same as mine because thinking was same and it was an easy problem . Please Look into this ..

This is what I got from you guys !

Attention!

Your solution 120540551 for the problem 1541A significantly coincides with solutions phoenix_slayer/120540551, vedant.gupta.cer20/120587528. 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://mirror.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.

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

...,,..

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

Nowdays codeforces solutions are available in net during contest. Someone are getting ideas from live streaming and someone are getting direct code. I don't know what do you want to achieve by cheating? Rating? Show some courage. The problem solvers who are practicing hardly they won't get a correct rating for your cheating during the contest.

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

Where is contest's rate Lol

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

Your solution 120588348 for the problem 1541A significantly coincides with solutions jatin3028/120548283, Saitama1227/120548701, TheBeardedCoder/120549565, yog_111/120550555, Ali_salloum/120550818, Atom_Bomb/120559071, phoenix639/120560190, sanskar00/120562876, Astro_Aditya/120563489, reshma_27/120569500, Dilip24/120573780, Shalika22/120582653, Farhan_meb/120588348, Paavan_parekh/120595630, Dlip/120597081. 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://mirror.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.

Hello, so i received a message saying my solution for a got matched with some random people. I am quite surprised to realize how could you judge a straight forward a problems solution as plag as the solution was change the indexing with its near index and that's it. And you can also check my ip or somehow if i have multiple accounts at contest time. This is totally unfair as i have solved b,c and didn't get plag but got you judged i copied some easy problem a. Please check this matter out. Got -184 which is quite a big deal for me. MikeMirzayanov. I dont even know any of the mentioned persons.

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

So poisonous mathforces round!

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

Seeking your attention MikeMirzayanov PurpleCrayon !

I got the message that my solution 120541662 significantly coincides with solution 120540725 of user Sky200 whom I don't even know. The similarities in code are because code was short and for the case of odd, "3 1 2" was given in the sample case so, I have used same the user also have used the same. The problem was quite straightforward and almost everyone implemented using two loops. I haven't copied any single line of code from anyone.

I have participated in 60+ contests and solved 400+ problems. I think our thinking was the same and because of short code, they are having similarities.

Even Official Editorial followed the exact same approach!!

Kindly check it again.

Thanks!

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

Seeking your attention MikeMirzayanov PurpleCrayon!

I got a message from the system stating that me and FranSkarica have copied in some way the solution of 1541A - Pretty Permutations. But I do not even know the person and did all my code locally. So there is no chance of that person coping my code or me copying his. The reason it has been caught in this type of test is because the logic is extremely simple (div-2 A) and most people would have got the same logic. The code is also very small which could lead to higher probability of this being a coincidence. I have particpated in 100+contests and solved around 1000 problems, I think I will definitely be able to solve A problem by myself. I also see that many have faced the same issue in the comments section. Kindly have a look at all the requests and do what is necessary

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

I have submitted two solution to problem div2.B.My logic for this one is j can written as x*arr[i]-i. I look for all possible j<=n. In first version I compare i+j==(arr[i]*arr[j]) and it is giving wa on pretest 3 where as in 2nd version of solution I write arr[j]==x, here if you multiply both side with arr[i] then it become arr[j]*arr[i]=x*arr[i] which is equal to i+j ,both of them are equivalent then why in first submission it is giving WA on test 3. 1st submission giving WA on pretest 3 2nd submission getting Accepted

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

Became blue by courtesy of speedforces.

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

Seeking your attention MikeMirzayanov PurpleCrayon!

I got the message that "Your solution 120588348 for the problem 1541A significantly coincides with solutions jatin3028/120548283, Saitama1227/120548701, TheBeardedCoder/120549565, yog_111/120550555, Ali_salloum/120550818, Atom_Bomb/120559071, phoenix639/120560190, sanskar00/120562876, Astro_Aditya/120563489, reshma_27/120569500, Dilip24/120573780, Shalika22/120582653, Farhan_meb/120588348, Paavan_parekh/120595630, Dlip/120597081. Such a coincidence is a clear rules violation. Note that unintentional leakage is also a violation" But i don't know any of them at all!.

The similarities in code are because code was short and for the case of odd, "3 1 2" was given in the sample case so, I have used same the user also have used the same. The problem was quite straightforward and almost everyone implemented using two loops. I haven't copied any single line of code from anyone. For this i got -184 which is a really big downfall for me.

I have participated in 200+ contests and solved 800+ problems. I dont think i am unable to solve problem A. I think our thinking was the same and because of short code, they are having similarities.

Even Official Editorial followed the exact same approach!!

Kindly check it again.

Thanks!

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

Seeking your attention MikeMirzayanov PurpleCrayon

This is regarding a mail I received for plagiarism in my first solution [ GordeyZav/120537624, pranav_mehta/120551724 ], I would just say that 1st solution was itself very intuitive and I believe a ton of users would have used the same logic, thereby the logic being same should not be a deciding factor, now if the plagiarism is because I used same iterator "i" and variable "n" then I believe the basic coding books and online tutorials are to be blamed, I don't really care about the rating or stuff, however getting a plagiarism badge on you when you didn't cheat isn't something anyone would want.

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

Hi!

I received a punishment from the system which claimed that I had cheated with romanychev, but I didn't.

As the system says:

As you see the codes generally have similarities, (which has became accidently) but they are not the same!!

And why should a question with a simple algorithm be copied!

And why should I do an wrong submission when I have copied it.

And why should I not give other solutions meanwhile he hasn't submitted them (he hadn't accepted any other problem except the one which has been claimed as an cheat) and had helped me.

Dear MikeMirzayanov. Please do something because it has been a misunderstanding, and it's too bad to lose the chance of becoming an expert just because of a misunderstanding.

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

Expert Again :)

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

A friend of mine got 0 rating change in this contest, he had 1WA and 1AC for problem A. He was at rating 761 and is still at 761 after the contest. It is not showing as out of the contest for him. On the contest page of his profile, it comes as 1 solved and 0 rating change.

Image showing 0 rating change

What could be the reason for this?

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

    Probably because his expected performance, based on his rating, matched with his actual performance during contest, his rating remained the same. You can always use webbrowser extensions, such as CF-predictor, to see what your actual performance is during the contest.