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.
After failing a bunch of times (as my previous comment shows), I tried switching the language from C++ to C++14 in the editor and it worked on the first try.
I don't really see why it would be the case (unless the compiler for C++14 was a whole lot better at optimizing), but it worked for me!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Exceptional Server
You are viewing a single comment's thread. Return to all comments →
After failing a bunch of times (as my previous comment shows), I tried switching the language from C++ to C++14 in the editor and it worked on the first try.
I don't really see why it would be the case (unless the compiler for C++14 was a whole lot better at optimizing), but it worked for me!