this_ability's blog

By this_ability, history, 12 months ago, In English

Hey CPers,

I tried this problem and am getting TLE in test case 3 though it got passed in all other 5 test cases with similar constraints. Can someone help?

Problem link:Problem Link My code: Code

Full text and comments »

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

By this_ability, history, 14 months ago, In English

Salary Queries — My solutionI am still stuck at Salary Queries. Although acc to me I have followed your approach to the answer only, but I am getting TLE on CSES with some test cases getting accepted. I have tried to debug my code but I still feel it should have a T.C. less than 1e8. Can anybody help? (I have used map as well but tle)

Full text and comments »

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

By this_ability, history, 14 months ago, In English

Hii everyone,

I am trying to solve this question. I have checked my logic through multiple different websites as it is a standard question but I am finding it difficult to resolve a runtime error on Test Case 7. the test cases are not visible as well. Please help. This is my 330092271.

Full text and comments »

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

By this_ability, history, 21 month(s) ago, In English

hii everyone, I attempted a very good question on Segment tree. Though I have checked my logic with the editorial, I am having errors in its implementation. If anybody could have a look and explain where my code is getting stuck. Problem is 914D. Link to the problem 914D - Bash and a Tough Math Puzzle My submission is Submission link 300235362 Thanks in advance.

Full text and comments »

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