go大数运算
func addBinary(a string, b string) string { b1, _ := new(big.Int).SetString(b, 0) b2, _ := new(big.Int).SetString(a, 0) var c big.Int c.Add(b1, b2) return c.Text(2) }
go字符串处理
go排序查找
func searchInsert(nums []int, target int) int { return sort.Search(len(nums), func(i int) bool { return nums[i] >= target }) }//lower_bound(nums[],target)
go log
log.Fatal相当于Print(xxx)+Os.exit(1)