Total Score
CodeChefOpen on judge ↗
In a game, if someone win then he gets 3 points.If he looses he gets 0 points. And if the game is a tie he gets 1 point.You have to calculate total score. Input Input will consist of 3 numbers , first for number of games win , second for number of games lost and third for number of games tied. Output Output will consist of single number which will show total score. Example Input: 5 4 2 Outp
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