Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
17
Task/Least-common-multiple/Go/least-common-multiple.go
Normal file
17
Task/Least-common-multiple/Go/least-common-multiple.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
var m, n, z big.Int
|
||||
|
||||
func init() {
|
||||
m.SetString("2562047788015215500854906332309589561", 10)
|
||||
n.SetString("6795454494268282920431565661684282819", 10)
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println(z.Mul(z.Div(&m, z.GCD(nil, nil, &m, &n)), &n))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue