Ad
  • Custom User Avatar

    My man is playing 4d chess

  • Custom User Avatar

    Hi Natan,

    Thanks for commenting. I finally figured the whole thing out and solved it. I just needed to find a way to print the unsigned ASCII values of the input string, insted of trying to print the characters directly, in order to understand what was going on, among a few other things lol... Took way longer than I thought it would, but it was a good feeling to finally pass all the tests. Thanks for responding.

  • Custom User Avatar

    (C++) I can pass the 3 basic standard tests, but get a timeout when I use the attempt button. I'm trying to debug, so I was trying to print out the code and input to see the test. However, when I print out the input, I get a bunch of unknown characters that I can't read. What can I do to find out what the tests are expecting as input/output? I can't see them. There's also no "Expected this and got that" sort of message.

    For example, for cout << code << " " << input << std::endl;

    I get:

    ,+[-.,+] Z`�3Q�C��ſ"|y�%�]:�

    ,[.[-],] Z`�3Q�C��ſ"|y�%�]:

    If I try to feed these to some online interpreter to see the expected output, it of course doesn't work. How can I find the input and expected output of the tests that I'm failing?

  • Custom User Avatar

    Lol nice, had no idea this existed.

  • Custom User Avatar
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution