← All problemsSign in

Digit Game

The chef and his father are playing a game. He gave the chef 3 digits 1 to 9 inclusive. He has to form the largest number from it in the following manner:- Three digits are: 4 7 1 74+1=75 Given the digits, $A$, $B$, and $C$. Find the maximum value possible. ###Constraints All values in the input are integers. 1≤A,B,C≤9 ###Input Input is given from Standard I

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start