题目:
题解:
Go
func bulbSwitch(n int) int {
return int(math.Sqrt(float64(n) + 0.5))
}
题目:
题解:
func bulbSwitch(n int) int {
return int(math.Sqrt(float64(n) + 0.5))
}