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.
First off it suggests that the results will fit in an int.
Secondly my code was too slow due to the large input. Then I modified their io template even further with ios::sync_with_stdio(true) and cin.tie(0) et voila Accepted.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Insertion Sort Advanced Analysis
You are viewing a single comment's thread. Return to all comments →
The template is ****!
First off it suggests that the results will fit in an int.
Secondly my code was too slow due to the large input. Then I modified their io template even further with
ios::sync_with_stdio(true)
andcin.tie(0)
et voila Accepted.