← All problemsSign in

Game Points

A group of children divided themselves into 2 groups, $A$ & $B$ and play a game. The game is played on a court of length $L$ with a target to goal **more** than the other team. If the goal is done from a distance less than $z$ from either side of the court, the team gets $m$ points, otherwise they get $n$ points with $m<n$. No player can goal from a distance greater than or equal to half the court

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