adnan_toky's blog

By adnan_toky, history, 7 weeks ago, In English

Who doesn't like short statements? (or maybe just me!)

Sometimes I get bored reading long statements while practicing and search for the problems with short statements. So I filtered such problems and ordered them by their statement size. I thought of sharing the list with everyone. Hope it may help the lazy programmers like me!

Problems (Categorized by Difficulty):


Remember that a short statement doesn't mean a simple and clear statement.

Read more »

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

By adnan_toky, 6 months ago, In English

In the last round, I have received two unexpected warnings from CodeForces plagiarism checker. The first one says, my solution 105930169 for the problem 1476D - Journey significantly coincides with solutions bleh0.5/105914875. After sometimes I got another warning that my solution to the same problem (1476D) significantly coincides with solutions bleh0.5/105914875, tejas10p/105917332.

My approach for problem D was quite straight forward. Just three operations in three different loops. Whoever solved the problem using this idea, it is quite possible to match their solutions. I have explored the submissions of the first 100 people according to the common standings of this round. Among these 100 submissions, I found 7 submissions that are also quite similar to my solution. It does not mean that we all shared our code among us, it is just that our approaches were same. I'm mentioning these 7 submissions here.

My submission:

The two submissions that matched with my submission:

Similar submissions:

  • 105883915 — Here only difference with my solution is I used array and he used vector.
  • 105878527 — He used vector and wrote the solution in a separate function.

Other similar submissions:

I already commented on the post but nothing changed. So I am here annoying you again. From the day (16 Feb, 2020) I did my first contest here, i never missed a single round regardless of how busy i was. I love my cf profile more than anything and just can't let a scar stay on my profile without any wrongdoing. -_-

I am requesting MikeMirzayanov & awoo to look into these unexpected warnings.

Read more »

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