A Trip to Andromeda
CodeChefOpen on judge ↗
Jimmy got a free ticket to Andromeda galaxy. He has a very nice view of the planets in the sky. He is watching sun and two planets $A$ and $B$ revolving around it. Now he wonders about their movement. They both are revolving in a orbit of particular radius. They are having radius $R$a and $R$b. The one with smaller radius $R$a is revolving anti-clockwise and the one with bigger radius $R$b is rev
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