Chef need runs
CodeChefOpen on judge ↗
In a cricket match, Chef's team is chasing a target set by the opponent team. You are given: * The total runs scored by the opponent team. * The current runs scored by Chef's team. Chef wants to know how many more runs his team needs to score to win the match. Your task is to help Chef find the required number of runs. --- ## Function Declaration ### Function Name $findRequiredRuns$ – This
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