Nishant__Ranjan's blog

By Nishant__Ranjan, 5 hours ago, In English

This is about problem C of Codeforces Round 962 (Div 3).

In my opinion, I have followed the correct algorithm to solve this problem. However, my code gives a TLE in test 3. Here is the code:

Submission

Can someone please tell me why is there a TLE?

Full text and comments »

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