Need help in Q. B of #532

Правка en1, от Prvt, 2019-01-17 17:55:45

I don't know what is right place to ask help regarding questions. I am solving http://codeforces.net/contest/1100/problem/B I read tutorial which solves it in O(m), but my solution is also of O(m), and I am getting TLE. Can someone suggest me the improvements? This is my solution:http://codeforces.net/contest/1100/submission/48488959

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Prvt 2019-01-17 17:55:45 360 Initial revision (published)