From 04ae72384683dc2f1a8b056b01719187c20e16a4 Mon Sep 17 00:00:00 2001 From: robbie-hatley Date: Sun, 9 Jul 2023 23:57:53 -0700 Subject: minor corrections to my 225 solutions --- challenge-225/robbie-hatley/perl/ch-1.pl | 2 +- challenge-225/robbie-hatley/perl/ch-2.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/challenge-225/robbie-hatley/perl/ch-1.pl b/challenge-225/robbie-hatley/perl/ch-1.pl index bd54fccf75..cbcca1f25a 100755 --- a/challenge-225/robbie-hatley/perl/ch-1.pl +++ b/challenge-225/robbie-hatley/perl/ch-1.pl @@ -101,4 +101,4 @@ for my $sentences (@lists) { # Determine and print execution time: my $µs = 1000000 * (time - $t0); -printf("\nExecution time was %.3fµs.\n", $µs); +printf("\nExecution time was %.0fµs.\n", $µs); diff --git a/challenge-225/robbie-hatley/perl/ch-2.pl b/challenge-225/robbie-hatley/perl/ch-2.pl index 67248944d2..9c49ef8bab 100755 --- a/challenge-225/robbie-hatley/perl/ch-2.pl +++ b/challenge-225/robbie-hatley/perl/ch-2.pl @@ -152,5 +152,5 @@ for my $aref (@arrays) { # Determine and print execution time: my $µs = 1000000 * (time - $t0); -printf("\nExecution time was %.3fµs.\n", $µs); +printf("\nExecution time was %.0fµs.\n", $µs); exit 0; -- cgit