Maximum Spacecrafts
CodeChefOpen on judge ↗
The Jedi Council is planning to send a fleet of circular spacecrafts with Obi Wan and Quigon who are about to escort the Queen of Naboo. They need to send all these spacecrafts in a single large circular container. You need to help them calculate how many small circular spacecrafts they can fit in the large circular container. You are given a radius of two circles $r_1$ and $r_2$, which belong
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