Ad
  • Custom User Avatar

    Damn, I didn't realize that "matching" doesn't mean "the next one you find", my bad then. Thanks for the quick reply.

  • Custom User Avatar

    From C++ test cases: [[]*>*>*>], 000 is for some reason supposed to return 000, how???
    [ - jump past matching ], since everything is zero anyway

    *> - flip the first bit and go to the second

    *> - flip the second and go to the third

    *> - flip the third, go out of bounds and terminate since we're out of bounds.

    We flipped all three bits, the tape is now 111. My solution passes everything except for this one, even random tests.