Chef And Shopkeeper
CodeChefOpen on judge ↗
The chef went for a grocery shopping with some amount of money to the mall, after buying all the necessary groceries he went to the Billing counter and there he pays all the amount he has. The shopkeeper informs the chef that the amount of bill is greater than funds provided by the chef. Now, Shopkeeper asks the chef that he can pay the amount formed by digits of the amount paid by the chef such
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