mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-22 02:47:26 +08:00
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)
|
|
}
|