From 95e0573aefdda6ef20eaee55a5d23ebcd5ba3bbe Mon Sep 17 00:00:00 2001 From: drbaggy Date: Mon, 8 Mar 2021 22:31:55 +0000 Subject: white space --- challenge-100/james-smith/perl/ch-1.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'challenge-100') diff --git a/challenge-100/james-smith/perl/ch-1.pl b/challenge-100/james-smith/perl/ch-1.pl index cce37c7bd6..9ff8b14021 100644 --- a/challenge-100/james-smith/perl/ch-1.pl +++ b/challenge-100/james-smith/perl/ch-1.pl @@ -42,7 +42,7 @@ done_testing(); ## 113 bytes total - 105 inside the curly braces.. sub ft{pop=~s/(.+)(:..)\s*(.m|)/sprintf'%02d%s%s', -($1%12||(12*!$3))+12*('pm'eq$3),$2,$3?'':$1%24<12?'am':'pm'/re} + ($1%12||(12*!$3))+12*('pm'eq$3),$2,$3?'':$1%24<12?'am':'pm'/re} ## This is more readable version with notes... sub fun_time { -- cgit From c51f9bd979dbd79f20cb0abd543dc9b4df9f4e84 Mon Sep 17 00:00:00 2001 From: Paulo Custodio Date: Tue, 9 Mar 2021 20:01:18 +0000 Subject: Remove tabs --- challenge-100/paulo-custodio/forth/ch-1.fs | 2 +- challenge-100/paulo-custodio/forth/ch-2.fs | 2 +- challenge-100/paulo-custodio/perl/ch-1.pl | 2 +- challenge-100/paulo-custodio/perl/ch-2.pl | 2 +- challenge-100/paulo-custodio/python/ch-1.py | 2 +- challenge-100/paulo-custodio/python/ch-2.py | 5 +---- 6 files changed, 6 insertions(+), 9 deletions(-) (limited to 'challenge-100') diff --git a/challenge-100/paulo-custodio/forth/ch-1.fs b/challenge-100/paulo-custodio/forth/ch-1.fs index 6289a61a34..8256d36e21 100644 --- a/challenge-100/paulo-custodio/forth/ch-1.fs +++ b/challenge-100/paulo-custodio/forth/ch-1.fs @@ -1,7 +1,7 @@ #! /usr/bin/env gforth \ Challenge 100 -\ +\ \ TASK #1 > Fun Time \ Submitted by: Mohammad S Anwar \ You are given a time (12 hour / 24 hour). diff --git a/challenge-100/paulo-custodio/forth/ch-2.fs b/challenge-100/paulo-custodio/forth/ch-2.fs index e792301d4e..bb9f411685 100644 --- a/challenge-100/paulo-custodio/forth/ch-2.fs +++ b/challenge-100/paulo-custodio/forth/ch-2.fs @@ -1,7 +1,7 @@ #! /usr/bin/env gforth \ Challenge 100 -\ +\ \ TASK #2 > Triangle Sum \ Submitted by: Mohammad S Anwar \ You are given triangle array. diff --git a/challenge-100/paulo-custodio/perl/ch-1.pl b/challenge-100/paulo-custodio/perl/ch-1.pl index baade5121c..b334976549 100644 --- a/challenge-100/paulo-custodio/perl/ch-1.pl +++ b/challenge-100/paulo-custodio/perl/ch-1.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Challenge 100 -# +# # TASK #1 > Fun Time # Submitted by: Mohammad S Anwar # You are given a time (12 hour / 24 hour). diff --git a/challenge-100/paulo-custodio/perl/ch-2.pl b/challenge-100/paulo-custodio/perl/ch-2.pl index 9f78a241ba..a6f7dc72c8 100644 --- a/challenge-100/paulo-custodio/perl/ch-2.pl +++ b/challenge-100/paulo-custodio/perl/ch-2.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Challenge 100 -# +# # TASK #2 > Triangle Sum # Submitted by: Mohammad S Anwar # You are given triangle array. diff --git a/challenge-100/paulo-custodio/python/ch-1.py b/challenge-100/paulo-custodio/python/ch-1.py index 7cabc2f1a7..f47e653e88 100644 --- a/challenge-100/paulo-custodio/python/ch-1.py +++ b/challenge-100/paulo-custodio/python/ch-1.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Challenge 100 -# +# # TASK #1 > Fun Time # Submitted by: Mohammad S Anwar # You are given a time (12 hour / 24 hour). diff --git a/challenge-100/paulo-custodio/python/ch-2.py b/challenge-100/paulo-custodio/python/ch-2.py index 1f27d99c01..0d22eba8d1 100644 --- a/challenge-100/paulo-custodio/python/ch-2.py +++ b/challenge-100/paulo-custodio/python/ch-2.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Challenge 100 -# +# # TASK #2 > Triangle Sum # Submitted by: Mohammad S Anwar # You are given triangle array. @@ -71,6 +71,3 @@ def min_sum(): parse(sys.argv[1:]) print(min_sum()) - - - -- cgit