Files
llgo/cl/_testpy/gcd/in.go
2025-04-03 16:26:11 +08:00

13 lines
237 B
Go

package main
import (
"github.com/goplus/lib/c"
"github.com/goplus/lib/py"
"github.com/goplus/lib/py/math"
)
func main() {
x := math.Gcd(py.Long(60), py.Long(20), py.Long(25))
c.Printf(c.Str("gcd(60, 20, 25) = %d\n"), x.Long())
}