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.
This was causing me to tear my hair out because my program failed some of the test cases when I submitted it, but when I looked at that input and copy/pasted it into the "custom test case" textarea the newlines were as expected (only "\n"), so my program always passed the test cases when I ran them one-by-one but always failed when I submitted it.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
The Grid Search
You are viewing a single comment's thread. Return to all comments →
This was causing me to tear my hair out because my program failed some of the test cases when I submitted it, but when I looked at that input and copy/pasted it into the "custom test case" textarea the newlines were as expected (only "\n"), so my program always passed the test cases when I ran them one-by-one but always failed when I submitted it.