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.
Hello,
I tried an algorithm that worked on my IDE, but its wrong when i submit my solution. I think i didn't quite well understood the input format...
here is the input i tried on my IDE :
I get an error when i run this solution on hackerRank.
Can anyone of you plz, give an example of the input and output, that the function, is supposed to get??
Thank you in advance
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Two Robots
You are viewing a single comment's thread. Return to all comments →
Hello, I tried an algorithm that worked on my IDE, but its wrong when i submit my solution. I think i didn't quite well understood the input format... here is the input i tried on my IDE :
I got the right output : 11, 2, 5 my algo is :
I get an error when i run this solution on hackerRank. Can anyone of you plz, give an example of the input and output, that the function, is supposed to get?? Thank you in advance