Impress The Girl
CodeChefOpen on judge ↗
Atul is studying in 12th standard. He is having a crush on Ayushi, a girl of his class. Unlike Atul she is quite studious and intelligent, she is currently solving a probaility question from R.D SHARMA, the question stated that, there is a bag having N balls and you are counting M balls. While counting there is a possibility of human error, everytime when the balls are counted a ball maybe counte
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