2000
Chef had collected $N$ notes of Rs. $2000$ to pay his total college fees. However, the government banned Rs. $2000$ notes. Chef wants to pay the same amount using Rs. $500$ notes only. Find the number of notes Chef needs. ### Input Each test case consists of a single integer $N$ - the number of notes of Rs. $2000$ that Chef has collected. ### Output Output a single integer - the number of Rs. $
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