diff --git a/collects/tests/mzscheme/benchmarks/shootout/chameneos.ss b/collects/tests/mzscheme/benchmarks/shootout/chameneos.ss index eb2df287a2..11bfe76925 100644 --- a/collects/tests/mzscheme/benchmarks/shootout/chameneos.ss +++ b/collects/tests/mzscheme/benchmarks/shootout/chameneos.ss @@ -47,6 +47,7 @@ (match (channel-get ch) [(cons other-color other-name) ;; Meet: + (sleep) ; avoid imbalance from weak fairness (loop (change color other-color) (add1 met) (+ same (if (eq? name other-name) diff --git a/collects/tests/mzscheme/benchmarks/shootout/meteor.ss b/collects/tests/mzscheme/benchmarks/shootout/meteor.ss index f4326433c1..ce26dc5696 100644 --- a/collects/tests/mzscheme/benchmarks/shootout/meteor.ss +++ b/collects/tests/mzscheme/benchmarks/shootout/meteor.ss @@ -215,14 +215,14 @@ (set! to-go (- to-go 2))))) (define (print-solution solution) - (newline) (for ([y (in-range height)]) (for ([x (in-range width)]) (display (string-ref solution (+ x (* y width)))) (display " ")) (display "\n") (when (even? y) - (display " ")))) + (display " "))) + (newline)) (define (solve! n) (set! to-go n) @@ -230,6 +230,6 @@ (command-line #:args (n) (solve! (string->number n))) (let ([solutions (sort solutions string