← All problemsSign in

All Zero

CodeChefRating 626Open on judge ↗

There is a blackboard with three integers written on it: $A, B,$ and $C$. You can modify these integers with the following two types of operations: - **Type $1$:** Subtract $1$ from $A$ and subtract $2$ from $B$. - **Type $2$:** Subtract $1$ from $B$ and subtract $3$ from $C$. Each type of operation can be performed however many times you like. The operations can be performed in any order. Is

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