Deducting Budgets
CodeChefOpen on judge ↗
We are in 2050 and "Bitcoin" is the prevailing currency. There are N Students' Societies in the college. Each society i has a specified budget Bi bitcoins. Now the administration has received an order that the student intake is to be increased next year and hence more infrastructure is needed. The finance committee decides that X bitcoins will be needed for the new work. Since the budget planning
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