Update solution 0319

This commit is contained in:
halfrost
2021-11-19 21:21:21 +08:00
committed by halfrost
parent f6f37533b1
commit 1bce2a9193

View File

@ -1,4 +1,4 @@
# [319. Bulb Switcher](https://leetcode-cn.com/problems/bulb-switcher/)
# [319. Bulb Switcher](https://leetcode.com/problems/bulb-switcher/)
## 题目
@ -46,6 +46,7 @@ Return the number of bulbs that are on after n rounds.
## 代码
```go
package leetcode
import "math"
@ -53,4 +54,5 @@ import "math"
func bulbSwitch(n int) int {
return int(math.Sqrt(float64(n)))
}
```