All submissions for this problem are available.
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 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 will consist of single number which will show total score.
Input: 5 4 2 Output: 17
|Time Limit:||0.1 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA, CS2, GO, NODEJS, PYP3|
Fetching successful submissions
If you are still having problems, see a sample solution here.