Documentation
¶
Overview ¶
*
- @time: 2019-08-19 22:37
- @author: louis
*
- @time: 2019-08-20 22:49
- @author: louis
*
- @time: 2019-08-19 23:15
- @author: louis
*
- @time: 2019-08-19 22:53
- @author: louis
Index ¶
- Constants
- Variables
- func BinarySearch(arr []int, size, p int) int
- func BinarySearchX(nums []int, target int) int
- func Debug()
- func Factorial(n int) int
- func Fib(n int) int
- func FindX() float64
- func FlipBit(c byte, i uint) byte
- func GetBit(c byte, i uint) byte
- func LowerBound(a []int, size, p int) int
- func OutputResult()
- func Period(p, e, i, d int)
- func SetBit(c byte, i uint, v int) byte
- func TwoSum(a []int, m int) []int
- func TwoSunSort(a []int, m int) []int
- type PhoneRecord
Constants ¶
View Source
const ( CMCC byte = iota + 0x01 //中国移动 CUCC //中国联通 CTCC //中国电信 CTCCv //电信虚拟运营商 CUCCv //联通虚拟运营商 CMCCv //移动虚拟运营商 IntLen = 4 CharLen = 1 HeadLength = 8 PhoneIndexLength = 9 PhoneDat = "phone.dat" )
Variables ¶
Functions ¶
func BinarySearchX ¶
func OutputResult ¶
func OutputResult()
func TwoSunSort ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.