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.
My output matches the expected output, but I'm still getting a "Wrong Answer" message (yes, I editted only 3 lines of code). Seems like this is happening to a lot of other people too, judging from the comments. Something about this problem is broken.
EDIT: a possible fix is to reset the code, then reapply your changes (should be simple if you think you found a solution). My submission was accepted after resetting. So maybe the compiler "remembers" changes made to other lines of code, even if those changes are later undone.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Zig Zag Sequence
You are viewing a single comment's thread. Return to all comments →
My output matches the expected output, but I'm still getting a "Wrong Answer" message (yes, I editted only 3 lines of code). Seems like this is happening to a lot of other people too, judging from the comments. Something about this problem is broken.
EDIT: a possible fix is to reset the code, then reapply your changes (should be simple if you think you found a solution). My submission was accepted after resetting. So maybe the compiler "remembers" changes made to other lines of code, even if those changes are later undone.