Jackpot
CodeChefOpen on judge ↗
A certain business farm has introduced a loyalty program. At the time of registration to the loyalty program, a customer is given 1 point. The points will get upgraded after the first new purchase every week. After such purchase, the customer can select between the following two policies to upgrade points: - Get exactly 1 more point - Double the points that he/she has For example, if 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.
Sign in to chat with the tutor and save your progress.
Sign in to start