ManasXD's blog

By ManasXD, history, 13 days ago, In English

It's a really unfair and sad gesture by Igor_Parfenov, author of latest Div2_992 round, Problem C was exact copy of problem : https://mirror.codeforces.com/contest/513/problem/B2

This is extremely unfair to the people who tried this problem for the first time. This also explains why so many people were able to do this problem despite it being good enough, that most of the experts in my friend-list couldn't do it.

My submission for contest problem 992C : 295640125

Exact same code submission for older version 592B2 : 295644907

Edit: I don't want to put allegations on the author of the contest, as it could be a highly improbable coincidence that he thought the exact some problem. This blog is just to highlight the fact that fairness of the contest was compromised.

people downvoting this blog cuz they got a good rank and now want the contest to not be unrated i can understand that some of you might have actually solved the problem during the contest. I am not fighting for the contest to be unrated, the sole purpose of this blog is to make sure such things do not happen again.

by downvoting this blog you do the work of suppressing the issue and if you do so how do you differentiate yourself from the people who try to compromise the fairness of the contest by any possible means.

Full text and comments »

  • Vote: I like it
  • -35
  • Vote: I do not like it

By ManasXD, 5 months ago, In English

Problem Link : 1995C - Squaring

I have tried to implement the float method from the editorial.

Editorial solution

I am using base 2 for log here. In the first code, I am calculating the difference of b[i-1] and b[i], tmp is the number of times log(2)=1 has to be added into b[i]. If b[i-1]-b[i]>0, We are adding it's ceil value to the total operations ( ops ) and also to b[i] itself.

However this solution gives wrong answer on test-case 2, my guess is my outputs are bigger than answer expected.

Note: I have removed input templates from codes to make them short, rest is intact. You can also refer to the submission links.

Code with wrong answer

code with ceil()

submission : 272991530

While this code works

working code

submission : 272991530

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it