Total Tax
CodeChefOpen on judge ↗
A tax collector was appointed in the Chefland . Our chef is king of the chefland. There are $N$ houses in the land. The king assigned each house to pay $T[i]$ amount of tax. The tax collector know that he will retired soon , so he want to earn more money .Now the tax collector become corrupt and he adds $C$ (a constant) amount of tax to $T[i]$ and collects the total amount. The tax collector hav
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