diff --git a/number-of-1-bits/invidam.go.md b/number-of-1-bits/invidam.go.md index 2128560a3..86ea04908 100644 --- a/number-of-1-bits/invidam.go.md +++ b/number-of-1-bits/invidam.go.md @@ -13,7 +13,7 @@ : 별도 자료구조를 사용하지 않는다. # Code -``` +```go func hammingWeight(n int) int { cnt := 0 for mask := 1; mask <= n; mask = mask << 1 {