← All problemsSign in

The Right One

A Country named Bitland wants to build a wall around his parliament house to keep it safe from attacks. president wants the wall to be a regular polygon. So they came up with some ideas for the angle between two walls. You need to report to the president that whether this angle is suitable or not. In other words can we make a regular polygon with given angle. INPUT - First line of input contains

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