TIME LIMIT EXCEEDED IN 455A BOREDOM

Правка en1, от jha_saurav, 2020-04-07 06:52:12

link to the question: http://codeforces.com/contest/455/problem/A

my submission: 75708843

The code has been written in python and dynamically programmed. But, i am getting TLE on test case 11. Please ,help in optimising the code if possible and if not; please tell why the code is getting TLE; is it because of python being a slower language or there is some issue in code?? PLEASE, HELP OUT!!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский jha_saurav 2020-04-07 06:53:40 953
en1 Английский jha_saurav 2020-04-07 06:52:12 437 Initial revision (published)