mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* 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
16 lines
204 B
Go
16 lines
204 B
Go
// -*- go -*-
|
|
|
|
package main
|
|
|
|
// @Test 1 1 = 1
|
|
// @Test 5 10 = 50
|
|
func main(a, b int32) int {
|
|
return mult(a, b)
|
|
}
|
|
|
|
func mult(a, b int) int {
|
|
mType := make(int, size(a)*2)
|
|
|
|
return mType(a) * mType(b)
|
|
}
|