Stalk It!
CodeChefOpen on judge ↗
Given the lockdown due to COVID-19, all Shriram does in a day is code, eat and sleep (and some other things too, leave them for now). The first event he does in a day is uncertain and he would start his day with code with a probability of $1/3$, sleep with a probability of $1/6$, and eat with a probability of $1/2$. There isn’t a big change in A*’s activities due to the lockdown and as usual h
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