I Need help in optimization??

Revision en1, by Nishant_Mohanty, 2023-01-28 23:48:51

https://mirror.codeforces.com/contest/1792/problem/D

//At the bottom there is my submission.

https://mirror.codeforces.com/contest/1792/submission/190984642

can anyone help me in giving further ideas to optimize my implementation. If possible can anybody teach me how to tackle these kinds of problems with newer ideas(new concepts).

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Nishant_Mohanty 2023-01-28 23:48:51 357 Initial revision (published)