dragonman164's blog

By dragonman164, history, 3 years ago, In English

I am getting MLE in test case 45 for C Question. I am not able to figure out the reason for it. Time Complexity and Space Complexity of my code are O(n^2) for each. Here's my submission. Can someone figure out my issue with my code ?

https://codeforces.me/contest/1678/submission/156387534

Full text and comments »

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