Back to General discussions forum
Hi, I'm just trying to solve task #49, but I'm not sure if the checker is correct.
These are the first five input lines:
20
RR SS SS PP SS RR PR PR RR SP SP RR SR RR PR RS
SS SS RP PS PS
SP PS PR RP PR SP
SP SS SS RP SR RS PS SS SR
In the fifth line (the fourth game), the game starts with SP, so Scissors cut Paper. That means player 1 has won.
But expected answer was "1 2 1 2 2 2 1 2 2 2 2 1 2 1 1 2 2 2 2 1", i.e. player 2 is the winner.
Is there a bug or is it my fault and I didn't get the description of the riddle correctly?
Regards Hennes
Hi, thanks for your question!
>That means player 1 has won.
The game is won not by the first victory, but by the total count of victories. Perhaps this clarification should be added to problem statement...
So in th 4-th
game we have
win tie tie lose lose win lose tie lose
so the first player wins 2 times and loses 4 times.