← All problemsSign in

Robots in Chefland

CodeChefRating 2505Open on judge ↗

Chefland is a big city which consists of infinite number of junctions on a 2D plane. The junctions are depicted below and they form a hexagonal grid — they satisfy the following conditions: - Two of the junctions have coordinates $(0,0)$ and $(1,0)$. - Each junction $J$ is connected by line segments with six other junctions. These junctions are the vertices of a regular hexagon with side length

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