← All problemsSign in

Minimum Days

Mr. Bean is a retail investor and today he bought one share of TCSS from NSE at price **X** and he wants to make a profit of **Y** (i.e. he will sell his share when its price will cross **X+Y**) Unfortunately, Mr. Bean is not that lucky and because of some false news in the market, the share price of TCSS went down by **D%** on that same day (after he bought the share). Now, assuming that t

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