Is the Score Consistent
Chef is watching a football match. The current score is $A:B$, that is, team $1$ has scored $A$ goals and team $2$ has scored $B$ goals. Chef wonders if it is possible for the score to become $C:D$ at a later point in the game (i.e. team $1$ has scored $C$ goals and team $2$ has scored $D$ goals). Can you help Chef by answering his question? ### Input - The first line contains a single integer $T
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