Hardest Problem Bet
There are $3$ problems in a contest namely $A, B, C$ respectively. Alice bets Bob that problem $C$ is the hardest while Bob says that problem $B$ will be the hardest. You are given three integers $S_A, S_B, S_C$ which denotes the number of successful submissions of the problems $A, B, C$ respectively. It is guaranteed that each problem has a different number of submissions. Determine who wins th
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