← All problemsSign in

Kazekages easy problem

KazeKage from the hidden sand village in Somalia is a very learned and intelligent man. He designs problems which seem very tough but in real are very easy and they don't require much effort to code as well. One of his famous problems is as follows - You are given $N$ lattice points, using these points you have to construct as many equilateral triangles as possible. Output the maximum number of su

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start