Deaccountisation
CodeChefOpen on judge ↗
Modi comes up with a new way to penalize people who do not pay taxes. If a person is found guilty then Modi can remove k digits from the person’s bank account and the amount which remains is their new bank balance. Since most of his party members will also get affected he wants to make sure that he removes the k digits such that remaining bank balance is as high as possible. Input - The first li
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