Can't find the bug in my code

Revision en1, by kushal2001, 2021-02-21 21:42:52

I keep getting TLE on test case 6 of the following question : https://codeforces.net/contest/559/problem/B here is a link to my code, https://codeforces.net/contest/559/submission/108124634 thank you!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English kushal2001 2021-02-21 21:42:52 234 Initial revision (published)