Utsavcc's blog

By Utsavcc, history, 10 days ago, In English

Given an array of length N with elements array[i] (negative integers inclusive), maximize the Score of the array.

Score of the array = -seg[1]+seg[2]-seg[3]+seg[4].... where all seg[i] are the sum of non-intersecting segments of the array which constitute all of the array when combined. We are also provided with an integer K, meaning the array must be divided exactly into K segments.

We aren't given constraints in the problem statement. What is the optimised approach for this question.

Could anyone share the solution with DP state[N][K]

Full text and comments »

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

By Utsavcc, history, 12 days ago, In English

Given an array of length N with elements array[i] (negative integers inclusive), maximize the Score of the array.

Score of the array = -seg[1]+seg[2]-seg[3]+seg[4].... where all seg[i] are the sum of non-intersecting segments of the array which constitute all of the array when combined We are also provided with an integer K, meaning the array must be divided into K segments.

We aren't given constraints in the problem statement. What is the optimised approach for this question.

Is it DP and if it is then what will be the state

Full text and comments »

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

By Utsavcc, history, 3 weeks ago, In English

Recently I came across these articles on LeetCode and CodeChef:

LeetCode Article

CodeChef Article

He is sahild2003, famous cheater known for being clever to surpass plagiarism detection.

Consider the following points:

First: He switches his preference for writing solutions for each problem to avoid getting caught, as you see here:

Second: He writes these solutions in different languages with lightning fast speed, like for instance consider writing solutions for the same problem in 4 different unpopular non-mainstream languages in just 4 minutes:

Third: This is the same strategy he uses across all platforms and he was recently banned from LeetCode since Moderators identified his strategy.

Fourth: Leaked Solution for B which was rigged in yesterday's div1+div2 round is submitted by Mr. sahild2003 too!! and failed system tests later on.

It's highly discouraging for actual honest people that achieve these ratings only to see a cheater achieve it too with a simple strategy. Thus, I would to request Sir MikeMirzayanov to look into this matter.

Edit #1: I've been lately seeing many racist comments and posts about Indians as just being Cheaters. Guys like you sahild2003 are a menace and primary reason for this.

Edit #2: Does anyone have any idea how to report cheating in CodeForces officially?

Edit #3: Why is there no response from moderators or officials to this post yet?

Full text and comments »

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

By Utsavcc, history, 3 weeks ago, In English

Recently, I came across this account joooooo222. Looking at his submissions, we can see he just pastes code from some source within durations of one or two minutes, like you can see in this picture.]

He is apparently disqualified when we check his rankings in the contest.

But at the same time he has positive delta for those contests.

I apologize if I'm mistaken for something, I'm not that used to this platform.

But I wanted to know if plagiarised participants are actually disqualified from the rankings or not since we still analyse that the ratings changes to those accounts say otherwise.

Full text and comments »

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