D:\go20190906\src\IGroup>go build ZD.go
[0x7FEF9B63C50] ANOMALY: meaningless REX prefix used
# command-line-arguments
[0x7FEF9B63C50] ANOMALY: meaningless REX prefix used
D:\go20190906\src\IGroup>ZD
[0x7FEF9B63C50] ANOMALY: meaningless REX prefix used
ZD3= [0]
DD3= [0 3 4]
ZD4= [0 3]
DD4= [0 3]
ZQ8= [0 1]
DQ8= [0 1]
package main
import (
"fmt"
)
func pibub(p *[]int){
n:=len(*p)
var j,i,d int
k:=0
m:=n-1
for{
if(k>=m){
break
}
j=m-1
m=0
for i=k; i<=j; i++{
if ((*p)[i]>(*p)[i+1]){
d=(*p)[i]
(*p)[i]=(*p)[i+1]
(*p)[i+1]&