Compare commits
No commits in common. "d08ee55795b279f69b2a15e78988cfb6ad6bd2fd" and "0a7dd54597009a7519820131a97ab3e271f67ecd" have entirely different histories.
d08ee55795
...
0a7dd54597
@ -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 := int64(1000)
|
||||
num := 1000
|
||||
if len(os.Args) > 1 {
|
||||
n, err := strconv.ParseInt(os.Args[1], 0, 64)
|
||||
if err != nil {
|
||||
@ -22,7 +22,7 @@ func main() {
|
||||
}
|
||||
|
||||
price, bidder := auctionsim.RunAuction(
|
||||
&auctionsim.CappedBidderGenerator{
|
||||
auctionsim.CappedBidderGenerator{
|
||||
G: auctionsim.NormalestBidderGenerator(),
|
||||
Lim: num,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user