← All problemsSign in

Jobless Phoenix

As we all know, the economic impact of COVID-19 pandemic has been largely disruptive. Many people lost their jobs and many business stopped or went bankrupt due to this. Sadly, Phoenix also lost his job in this hard times. Now he is in a dire need of money to survive. He has recently recovered from a fracture in his left hand and so he can't work more. He needs exactly $N$ dollars currentl

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