--- a/solutions5/bf.scala Thu Dec 06 13:52:50 2018 +0000
+++ b/solutions5/bf.scala Thu Dec 06 15:15:31 2018 +0000
@@ -216,7 +216,7 @@
val start = System.nanoTime()
for (i <- 0 until n) code
val end = System.nanoTime()
- (end - start)/1.0e9
+ (end - start)/(n * 1.0e9)
}
time_needed(1, run(b1))