摘要:
package main import "fmt" func HeapSort(arr []int) []int { length := len(arr) for i := 0; i < length; i++ { lastmesslen := length - i //每次截取一段 HeapSor 阅读全文
摘要:
package main import "fmt" //11,9,2,8,3,7,4,6,5,10 //9 11 2 8 3 7 4 6 5 10 //9 2 11 8 3 7 4 6 5 10 //9 2 8 11 3 7 4 6 5 10 //9 2 8 3 11 7 4 6 5 10 //9 阅读全文
摘要:
package main import ( "fmt" "math/rand" ) //3,9,2,8,1,7,4,6,5,10 //3 9,2,8,1,7,4,6,5,10 // 2,1 3, 9,2,8,,7,4,6,5,10 // 9,2,8,,7,4,6,5,10 // ,8,7,4,6,5 阅读全文
摘要:
package main import "fmt" //// 1 9 2 8 7 6 4 5 //// 1 9 2 8 7 6 4 5 //// 1 2 9 8 7 6 4 5 //// 1 2 8 9 7 6 4 5 //// 1 2 7 8 9 6 4 5 //// 1 2 6 7 8 9 4 阅读全文
摘要:
import "fmt" // 1 9 2 8 7 6 4 5 //9 1 2 8 7 6 4 5 //9 8 1 2 7 6 4 5 //9 8 7 1 2 6 4 5 func SelectSortMax(arr []int) int { length := len(arr) //数组长度 if 阅读全文
摘要:
const LUCKY_AIRDROP_PRIZE = [ { "id": 1, "prop": 16.2 }, { "id": 2, "prop": 16.2 }, { "id": 3, "prop": 16.2 }, { "id": 4, "prop": 16.2 }, { "id": 5, " 阅读全文