Expected Distance
CodeChefOpen on judge ↗
There are two circles of radius R on a coordinate system such that the center of first circle lies on (-R,0) and the center of second circle lies on (R,0). There exist two points on the coordinate system such that first point lies on the center of one circle and the other point can lie anywhere on the circumference of another circle with equal probability everywhere. Find out the expected value of
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