TLE on test case 15? why?

Revision en4, by chiraghalnm, 2024-03-31 17:02:37

here is the 1942B - Bessie and MEX from CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) i don't think there is any problem in the logic. but i am getting TLE on test case 15.what is the error? here is my submission 254189571

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English chiraghalnm 2024-03-31 17:02:37 1 Tiny change: 'oblem:1942 B] from [c' -> 'oblem:1942B] from [c'
en3 English chiraghalnm 2024-03-31 17:01:40 42
en2 English chiraghalnm 2024-03-31 16:59:50 6 Tiny change: 'i don't there is ' -> 'i don't think there is '
en1 English chiraghalnm 2024-03-31 16:59:03 253 Initial revision (published)