← All problemsSign in

Sum it

CodeChefRating 308Open on judge ↗

Bob received an assignment from his school: he has two numbers $A$ and $B$, and he has to find the sum of these two numbers. Alice, being a good friend of Bob, told him that the answer to this question is $C$. Bob doesn't completely trust Alice and asked you to tell him if the answer given by Alice is correct or not. If the answer is correct print `"YES"`, otherwise print `"NO"` (without

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