fix compilation errors

This commit is contained in:
Kistaro Windrider 2023-11-18 16:52:22 -08:00
parent 6a90931c57
commit d08ee55795
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -9,7 +9,7 @@ import (
)
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,7 +22,7 @@ func main() {
}
price, bidder := auctionsim.RunAuction(
auctionsim.CappedBidderGenerator{
&auctionsim.CappedBidderGenerator{
G: auctionsim.NormalestBidderGenerator(),
Lim: num,
},