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.
Sherlock and Moving Tiles
Sherlock and Moving Tiles
Sort by
recency
|
294 Discussions
|
Please Login in order to post a comment
Note for people trying in C: the parse_int function overflows for some test cases. Change the function to return a long, and change the queries array to accept longs.
If you are having a runtime error in java, this might be the solution: https://www.hackerrank.com/challenges/sherlock-and-moving-tiles/forum/comments/485993
This question is poorly-worded.