Why is this code giving TLE?

Правка en1, от nipungupta37, 2020-04-16 17:29:14

https://codeforces.me/contest/1251/submission/76981021 can someone tell why this code is giving TLE? the complexity seems fine to me?

question link...https://codeforces.me/problemset/problem/1251/C

Теги #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский nipungupta37 2020-04-16 17:29:36 1 Tiny change: 'on link...https://co' -> 'on link... https://co'
en1 Английский nipungupta37 2020-04-16 17:29:14 232 Initial revision (published)