Football Cup
It is the final day of La Liga. Chef has a certain criteria for assessing football matches. In particular, he only likes a match if: - The match ends in a draw, and, - **At least** one goal has been scored by either team. Given the goals scored by both the teams as $X$ and $Y$ respectively, determine whether Chef will like the match or not. ### Input - The first line of input will contain a
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