TLE in ARC 165 task C

Правка en2, от MOOONI, 2023-09-18 16:57:32

Hello everyone. My solution gets TLE on this problem. I have no idea what I'm doing wrong because my solution is quite similar to the one mentioned in the editorial. Can you help, please?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский MOOONI 2023-09-18 16:57:32 14 Tiny change: 'g because it's quite si' -> 'g because my solution is quite si'
en1 Английский MOOONI 2023-09-18 16:56:13 314 Initial revision (published)