Permalink
Browse files

Show more accurate seconds

  • Loading branch information...
1 parent 0032ded commit b4945e0c2b388369bb4040c1b8dae3642304d5b8 Andreas Pauley committed Feb 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 sudoku.py
View
@@ -117,7 +117,7 @@ def time_solve(grid):
times, results, valuedicts = zip(*[time_solve(grid) for grid in grids])
N = len(grids)
if N > 1:
- print "Solved %d of %d puzzles from %s (avg %.2f secs (%d Hz), max %.2f secs)." % (
+ print "Solved %d of %d puzzles from %s (avg %.6f secs (%d Hz), max %.6f secs)." % (
sum(results), N, name, sum(times)/N, N/sum(times), max(times))
return valuedicts

0 comments on commit b4945e0

Please sign in to comment.