✏️ drop all pb & 增加 gist 审批

This commit is contained in:
fumiama
2021-12-16 15:27:47 +08:00
parent a363623df9
commit e2c603338e
11 changed files with 209 additions and 196 deletions

View File

@@ -16,3 +16,11 @@ func Min(a, b int) int {
}
return a
}
// Abs 返回绝对值,该函数将被内联
func Abs(x int) int {
if x < 0 {
return -x
}
return x
}