New Quest — Square Root
In a candlelit tearoom, Liina’s riddles of roots and seeds awaken Mihkel to a deeper truth: numbers conceal hidden forms. That night, the Logic Mill uncovers the side of the square—revealing symmetry where others saw only mystery.
On the input tape, you’ll get a positive unary number that is also a perfect square. Your task is to compute its square root.
For example, if the input tape is |||||||||
, your output tape should be |||
(√9 = 3).