Compare commits
2 Commits
0a7dd54597
...
d08ee55795
Author | SHA1 | Date | |
---|---|---|---|
d08ee55795 | |||
6a90931c57 |
@ -2,14 +2,14 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.chromaticdragon.app/kistaro/auctionsim/auctionsim"
|
||||
"log"
|
||||
"os"
|
||||
"strconv"
|
||||
"git.chromaticdragon.app/kistaro/auctionsim/auctionsim"
|
||||
)
|
||||
|
||||
func main() {
|
||||
num := 1000
|
||||
num := int64(1000)
|
||||
if len(os.Args) > 1 {
|
||||
n, err := strconv.ParseInt(os.Args[1], 0, 64)
|
||||
if err != nil {
|
||||
@ -22,8 +22,8 @@ func main() {
|
||||
}
|
||||
|
||||
price, bidder := auctionsim.RunAuction(
|
||||
auctionsim.CappedBidderGenerator{
|
||||
G: auctionsim.NormalestBidderGenerator(),
|
||||
&auctionsim.CappedBidderGenerator{
|
||||
G: auctionsim.NormalestBidderGenerator(),
|
||||
Lim: num,
|
||||
},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user