changeset 433 | c08290ee4f1f |
parent 424 | 1129024b26d5 |
child 434 | 8664ff87cd77 |
--- a/progs/re1.scala Sat Oct 01 23:34:37 2016 +0100 +++ b/progs/re1.scala Sun Oct 02 14:07:42 2016 +0100 @@ -68,6 +68,10 @@ (end - start)/(i * 1.0e9) } +for (i <- 1 to 20) { + println(i + ": " + "%.5f".format(time_needed(2, matches(EVIL1(i), "a" * i)))) +} + for (i <- 1 to 20) { println(i + ": " + "%.5f".format(time_needed(2, matches(EVIL1(i), "a" * i))))