05 2020 档案
摘要:package main import ( "fmt" "strconv" ) func main() { arr := []int{12, 34, 651, 3, 65, 1, 4} fmt.Println(arr) // 冒泡排序 // value := bubble_sort(arr) //
阅读全文
posted @ 2020-05-27 14:39
懶得取名
摘要:1 $arr = [1,43,56,78,2,5,98,2,12]; 2 3 // 冒泡排序 4 function bubble_sort($arr){ 5 $l = count($arr); 6 for($i = 0;$i < $l-1;$i++){ 7 for($j = 0;$j < $l-1-
阅读全文
posted @ 2020-05-26 16:24
懶得取名

浙公网安备 33010602011771号