Getting TLE in code in c of Educational Codeforces Round 118 (Rated for Div. 2)

Правка en4, от meet2008, 2021-12-02 19:30:11

137721798 any one please help me in this why i am getting tle in this python code

but after when i wrote same code just by using fuction it aacepted can any one tell my mistake in first code or any difference when i wrote code using functions

code using function 137724963

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский meet2008 2021-12-02 19:30:11 0 (published)
en3 Английский meet2008 2021-12-02 19:13:34 13 Tiny change: 'unction \n137724963' -> 'unction \n[submission:137724963]'
en2 Английский meet2008 2021-12-02 19:13:09 258 (saved to drafts)
en1 Английский meet2008 2021-12-02 19:10:58 234 Initial revision (published)