← All problemsSign in

Truth and Lie

Chef has started a bakery of his own and is doing great. Eventually his sale has increased a lot and he appointed two workers, Amit and Deb. Few days after appointing them chef realised that his profit is not good enough. There were some strange anomailes in the sales figures. So chef decided to put them on a test. In order to test them, he kept a known amount of money in each of his N special b

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