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

AMSGAME2 : Two exact same solutions, C++ -> AC while Python -> TLE? Any idea?

$
0
0

Two exact same solutions of AMSGAME2 one in Python (link) and another in C++ (link), Python solution leads to TLE while C++ solution gets AC.
Why so? Is it the matter of taking input in Python or some other reason?
I looked up here for all python submissions but there isn't a single AC solution yet.


Viewing all articles
Browse latest Browse all 39796

Trending Articles



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