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.
I learned a lot from this exercise, thank you very much.
Anyone’s having the last test failing?
My output is:
45 262 229 823 283 152 24 228 360 124
45 262 229 823 283 152 24 228 230 188
Can’t figure out what’s wrong
You should check your tie breaker conditions.
Here your output indicates player 34 won in semi-finals against player 360, but it was a game against player 230.
Thaaaaaanks!! Actually, it was an issue with my rules! I completely missed C against L…
Nice one, thanks for taking the time to posting it