(F) Strange Bitcoin Mining
CodeChefOpen on judge ↗
Deepak recently got to know about cryptocurrency and thought to give it a try. He asked his father about the same and he told him that he had purchased some $N$ crypto coins a few years ago and he can give one to him if he wants on a certain condition that he can only pick one of the coin randomly from the collection each day and if he wants that coin he can keep it else put it back in collection
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