ceremonyclient/bedlam/apps/garbled/examples/sort.qcl
Cassandra Heart dbd95bd9e9
v2.1.0 (#439)
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete

* 2.1.0 main node rollup
2025-09-30 02:48:15 -05:00

34 lines
1.4 KiB
Go

// -*- go -*-
package main
import (
"sort"
)
var input = []int9{
136, 142, 146, 165, 183, 189, 220, 223, 232, 235, 67, 73, 77, 88,
91, 93, 95, 97, 98, 132, 5, 6, 7, 10, 14, 18, 18, 37, 50, 64, 245,
249, 252, 136, 142, 146, 165, 183, 189, 220, 223, 232, 235, 67,
73, 77, 88, 91, 93, 95, 97, 98, 132, 136, 142, 146, 165, 183, 189,
220, 223, 232, 235, 67, 73, 77, 88, 91, 93, 95, 97, 98, 132, 5, 6,
7, 10, 14, 18, 18, 37, 50, 64, 245, 249, 252, 136, 142, 146, 165,
183, 189, 220, 223, 232, 235, 67, 73, 77, 88, 91, 93, 95, 97, 98,
132, 136, 142, 146, 165, 183, 189, 220, 223, 232, 235, 67, 73, 77,
88, 91, 93, 95, 97, 98, 132, 5, 6, 7, 10, 14, 18, 18, 37, 50, 64,
245, 249, 252, 136, 142, 146, 165, 183, 189, 220, 223, 232, 235,
67, 73, 77, 88, 91, 93, 95, 97, 98, 132, 5, 6, 7, 10, 14, 18, 18,
37, 50, 64, 245, 249, 252, 136, 142, 146, 165, 183, 189, 220, 223,
232, 235, 67, 73, 77, 88, 91, 93, 95, 97, 98, 132, 136, 142, 146,
165, 183, 189, 220, 223, 232, 235, 67, 73, 77, 88, 91, 93, 95, 97,
98, 132, 5, 6, 7, 10, 14, 18, 18, 37, 50, 64, 245, 249, 252, 136,
142, 146, 165, 183, 189, 220, 223, 232, 235, 67, 73, 77, 88, 91,
93, 95, 97, 98, 132, 136, 142, 146, 165, 183, 189, 220, 223, 232,
235, 67, 73, 77, 88, 91, 93, 95, 97, 98, 132, 5, 6, 7, 10, 14, 18,
18, 37, 50, 64, 245, 249, 252,
}
func main(g, e byte) []int {
return sort.Reverse(sort.Slice(input))
}