TRY YOUR LUCK
CodeChefOpen on judge ↗
TRY YOUR LUCK A tech-fest is being organised in M.B.M engineering college, in which organisers come up with a very intresting lottery game. This game is very easy in which participants luck plays a very important role. In this game every participant has to pick up a lottery ticket from a box kept by organisers. In that box total N number of lottery tickets are kept which are randomly numbered, he
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