← All problemsSign in

Chef and Money Management

Chef works in Circle Inc as the Chief Accountant. Circle Inc. processes T number of transactions everyday amounting to crores of rupees. They have a daily target that they must achieve in order to be profitable. Chef has to answer Q queries about when was a specific target amount was reached. i.e at which transaction number. Given a list of transactions done by Circle Inc. and the all the Q queri

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