Send your feedback or ask for help here!
It was a cool puzzle to solve. Thanks for the contribution :D.
Okay. Starting to get irritated here as I don’t know what I’m doing wrong. I can get the solution but the server won’t accept it. I get this:
Standard Output Stream:
6 5 1
Found: 6 5 1
Also, if I output to cerr, it is read as output to cout.
Could someone explain what’s going on here, please?
did you add \n (newline) after 6 5 1 ?
Yes, I did. I’ve traced the error since your kind reply: my output had a trailing space after the final digit, which was apparently unacceptable. I’ve amended my code to produce spaces less indiscriminately and the code seems to work now.
Thank you for your help.
i think after symbol 1 you have a symbol space (" "). there is shouldn’t be.