diff options
author | siddharth <s@ricketyspace.net> | 2021-08-17 20:18:06 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-08-17 20:18:06 -0400 |
commit | ae8a6146df3bddb02e3814327a41f5c810d57a4f (patch) | |
tree | 64b0090ef3bbb7e64e24935800bcc89438a47f30 /challenge/c21.go | |
parent | 116e478a7d945f2012408c4d76fc9badbb257cd4 (diff) |
challenge: update C21
Use MTRand instead of MTExtact.
Diffstat (limited to 'challenge/c21.go')
-rw-r--r-- | challenge/c21.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/challenge/c21.go b/challenge/c21.go index 7dc734d..e725cd3 100644 --- a/challenge/c21.go +++ b/challenge/c21.go @@ -10,8 +10,9 @@ import ( ) func C21() { + mt := new(lib.MTRand) for { - fmt.Printf("%v\n", lib.MTExtract()) + fmt.Printf("%v\n", mt.Extract()) } } |