diff options
| author | robbie-hatley <Robbie.Hatley@gmail.com> | 2023-07-09 23:57:53 -0700 |
|---|---|---|
| committer | robbie-hatley <Robbie.Hatley@gmail.com> | 2023-07-09 23:57:53 -0700 |
| commit | 04ae72384683dc2f1a8b056b01719187c20e16a4 (patch) | |
| tree | 489f0f9446dd01bcb50d562055dcdce4843c4dba | |
| parent | 77465447ff12a5654bd88f85ae81cbabc0a1359c (diff) | |
| download | perlweeklychallenge-club-04ae72384683dc2f1a8b056b01719187c20e16a4.tar.gz perlweeklychallenge-club-04ae72384683dc2f1a8b056b01719187c20e16a4.tar.bz2 perlweeklychallenge-club-04ae72384683dc2f1a8b056b01719187c20e16a4.zip | |
minor corrections to my 225 solutions
| -rwxr-xr-x | challenge-225/robbie-hatley/perl/ch-1.pl | 2 | ||||
| -rwxr-xr-x | 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; |
