Rock Paper Scissor
Chef and Chefina are playing the famous game of Rock, Paper, Scissors. The game consists of $N$ rounds. In each round, both players choose one of the three moves: Rock, Paper, or Scissors, denoted by `R`, `P`, and `S` respectively. - If both players play the same move, the current round ends in a draw and neither of them gets a point. - If one of the players plays Rock and the other plays Scisso
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start