← All problemsSign in

Odd Sum Pair

CodeChefRating 506Open on judge ↗

Chef has $3$ numbers: $A$, $B$, and $C$. Chef wonders if it is possible to choose **exactly** two numbers out of the three numbers such that their sum is **odd**. Your task is to help Chef determine if such a pair exists. --- ## Function Declaration ### Function Name $checkOddPairs$ – This function checks if any two numbers out of the three can form an odd sum. ### Parameters * $A$ : an inte

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