摘要:
package main import ( "fmt" ) func main() { a := [...]int{1, 3, 6, 4, 8, 0, 6} fmt.Println(a) num := len(a) for i := 0; i < num; i++ { for j := i + 1; j < num; j++ { ... 阅读全文
摘要:
package main import ( "fmt" ) func main() { LABLE1: for { for i := 0; i 3 { break LABLE1 } } } fmt.Println("ok") } 阅读全文
摘要:
1 1024 1.048576e+06 1.073741824e+09 阅读全文
摘要:
package main import ( "fmt" "strconv" ) func main() { var a int = 65 b := strconv.Itoa(a) a, _ = strconv.Atoi(b) fmt.Println(a) } 阅读全文