AvadaKedavara's blog

By AvadaKedavara, history, 13 days ago, In English

I was solving Labyrinth from cses. My submission was Submission, I got a wrong answer on this submssion, but I think this solution works. Please Tell me what is wrong in my solution.

Full text and comments »

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

By AvadaKedavara, history, 3 months ago, In English

After two years I finally reached pupil on Codeforces.

Full text and comments »

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

By AvadaKedavara, history, 4 months ago, In English

I use Visual Studio Code with CPH and Thorium browser. I am just curious about what tools do you use to do competitive programming.

Full text and comments »

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

By AvadaKedavara, history, 4 months ago, In English

In the problem Swaps [problem:https://codeforces.com/problemset/problem/1573/B], my solution which is of O(n log n) time complexity is not working and giving a tle on test 2, when clearly the problem allows O(n log n) to pass. My solution: [submission:https://codeforces.com/contest/1573/submission/240104987]. Can somebody explain why this is happening. I know that there is a better solution in the editorial but why should this not pass?

Update: Fixed the problem :>

Full text and comments »

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