Adityaxv's blog

By Adityaxv, 18 months ago, In English

1846C - Rudolf and the Another Competition

My Code

I don't know why my code is not working even though the approach is correct, and I don't see anything wrong with my code. Even the 10th test case where it failed should give the right answer, according to me. I would be grateful if you could find out where the error is.

Full text and comments »

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

By Adityaxv, 19 months ago, In English

It has become very slow compared to what it used to be.  MikeMirzayanov

Full text and comments »

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

By Adityaxv, 19 months ago, In English

Problem

My Solution

1964/2028 test cases have been accepted. Below is one of the test cases in which my code gives a wrong output:

Testcase

Full text and comments »

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

By Adityaxv, 19 months ago, In English

Problem: Link, Submission: 280673288

Code

Full text and comments »

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

By Adityaxv, 19 months ago, In English

Problem

According to me P = 85 and Q = 10. So, the answer should be 8. But why the expected answer is 500000012?

Full text and comments »

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

By Adityaxv, 19 months ago, In English

My code gives runtime error for some testcases of this Problem.

My Solution

But when I add integer 0, n times in the multiset at the beginning, my code gets accepted. Why?

Added Part

Full text and comments »

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

By Adityaxv, 20 months ago, In English

tourist is Messi of Competitive Programming or vice versa? Both are inspiration to me as CP and Football are the only thing that I like to do and are productive. Delude yourself as much as you want, but both of them are quite above everyone else in their respective field and are GOAT. I wonder what type of mindset or things that separates them from not only amateurs but from pros too?

Full text and comments »

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

By Adityaxv, history, 2 years ago, In English
  • Vote: I like it
  • +3
  • Vote: I do not like it