Created
July 28, 2018 09:26
-
-
Save genya0407/727af8af1278c436ff477ebcb1af1b5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
import "math/big" | |
func main() { | |
res1 := big.NewInt(1) | |
for i := 1; i <= 100000; i++ { | |
res1.Mul(res1, big.NewInt(int64(i))) | |
} | |
for j := 0; j < 5; j++ { | |
fmt.Printf("%s", res1.String()[:15]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment