Doubt in Div 3 — Problem D

Revision en1, by _Theyvansh_, 2021-06-11 11:05:41

Problem : https://codeforces.com/contest/1538/problem/D

Solution Link : https://codeforces.com/contest/1538/submission/119077891

Can anyone explain why I am getting TLE on test 6 for this solution?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _Theyvansh_ 2021-06-11 11:05:41 229 Initial revision (published)