Zoro and Division
CodeChefOpen on judge ↗
Zoro considers the world flat and as he is the worst when it comes to finding direction so it will be very difficult if he considers world round and will be lost as usual. So for simpler reference consider a flat $2-D$ plane consisting of only integral points. Now, there are $N$ triangular islands on the flat plane (no island intersect each other but may touch or share an edge with each other).
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