diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-12-12 07:08:08 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-12-12 07:08:08 +0100 |
| commit | 7066e473e844c5fbfc6e8b23582e1b553c14e530 (patch) | |
| tree | df47ee926d8996609969d26f8d9d5b1152ea1a0b | |
| parent | 7cb89fe4164c63eaafeb7542030af187a5e32a68 (diff) | |
| download | aoc-7066e473e844c5fbfc6e8b23582e1b553c14e530.tar.gz | |
add "ms" to bottom line
| -rw-r--r-- | 20/README | 2 | ||||
| -rw-r--r-- | 20/py/aoc20.py | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -15,7 +15,7 @@ Day Time Ans Time Ans 11 432.343 2338 580.579 2134 12 0.257 1645 0.279 35292 ------- ------- -tot TBD TBD +tot TBD ms TBD ms Stats: diff --git a/20/py/aoc20.py b/20/py/aoc20.py index c904e21..ea13447 100644 --- a/20/py/aoc20.py +++ b/20/py/aoc20.py @@ -114,11 +114,11 @@ if __name__ == "__main__": if only_part == 0: print(" -------", end="") print() - print("tot ", end="") + print("tot ", end="") if running_part(1): - print(f"{tot_time[0]*1000:6.3f}", end="") + print(f"{tot_time[0]*1000:8.3f} ms", end="") if only_part == 0: - print(" ", end="") + print(" ", end="") if running_part(2): - print(f"{tot_time[1]*1000:6.3f}", end="") + print(f"{tot_time[1]*1000:8.3f} ms", end="") print() |
