Adityaxv's blog

By Adityaxv, 8 days ago, In English

Problem: 1842B - Tenzing and Books

My Code: 288943713

I don't know why I am getting the wrong answer on the 2nd test case, and I can't even see which test case my answer is wrong.

My approach is the same as Tourist's code: 210874375 but with a different implementation. Can you kindly tell me why or in which test case my code is wrong?

Full text and comments »

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

By Adityaxv, 4 weeks 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, 6 weeks 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, 7 weeks 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, 2 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, 2 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, 2 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, 2 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, 7 months ago, In English
  • Vote: I like it
  • +3
  • Vote: I do not like it