Zig Zag Sequence

  • + 0 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.