Count Circles
CodeChefOpen on judge ↗
You are given a rectangular chart paper of size l*b and you have to cut circles of radius r from that chart paper. Now, you have find out the maximum number of circles that can be cut out of the chart paper. You can cut the circle in such a way that if you cut one circle the other one would be below, above or on the sides of that circle. ### Input - First line contains an integer t- The number 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