Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

As fast as Python AC solution but still TLE

$
0
0

Hello everyone. For the May Long Contest's problem MSTICK, I came out with a python solution which is as fast as the AC ones I checked when the contest ended. However, my solution got TLE. Can someone tell me what's wrong with it ? Here is the code. Thank you, I'm working on it for weeks now ! I even learned to implement a segment tree but it is still slow.


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>