Antiques
CodeChefOpen on judge ↗
Akash and Shivam have earned a lot of money in a lottery recently! Now, a common question both of them have in their minds is "Where can I spend the money?". After a lot of thinking about various options, they both decide to buy as many antique items as possible. Akash and Shivam have enough money to buy any antiques of the world, any number of times! So they visit an antique item market which ca
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