摘要:
二进制转换 package main import ( "fmt" "strconv" ) func main() { // 10 进制转换为其他进制字符串 n := 123 fmt.Println(strconv.FormatInt(int64(n), 2)) // 1111011 // 输出二进 阅读全文
posted @ 2022-07-14 22:54
Notomato
阅读(515)
评论(0)
推荐(0)
摘要:
Golang 输入 package main import ( "bufio" "fmt" "os" "strconv" "strings" ) func main() { // input a int num var a int fmt.Scan(&a) fmt.Println(a) var b, 阅读全文
posted @ 2022-07-14 00:42
Notomato
阅读(289)
评论(0)
推荐(0)

浙公网安备 33010602011771号