We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Performance issues is quite obivious notable in this problem. While it takes 10+ seconds to solve case #5 in python, it only take 0.08s in C++. Both codes are based on the wiki page mentioned by Spatzist. Why we can't have elegant and speedy in one language?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Common Child
You are viewing a single comment's thread. Return to all comments →
Performance issues is quite obivious notable in this problem. While it takes 10+ seconds to solve case #5 in python, it only take 0.08s in C++. Both codes are based on the wiki page mentioned by Spatzist. Why we can't have elegant and speedy in one language?