Solved LeetCode program · 239 of 1,000
#0319 · Bulb Switcher
Original English source
The number is 3. The root is 1.
Repeat while root times root is at most number.
Add 1 to root.
Show root minus 1.
Expected stdout
1
Solved LeetCode program · 239 of 1,000
The number is 3. The root is 1.
Repeat while root times root is at most number.
Add 1 to root.
Show root minus 1.
1