diff options
49 files changed, 114 insertions, 2 deletions
diff --git a/challenge-092/paulo-custodio/perl/ch-1.pl b/challenge-092/paulo-custodio/perl/ch-1.pl index 8416035e4d..49a153e10b 100644 --- a/challenge-092/paulo-custodio/perl/ch-1.pl +++ b/challenge-092/paulo-custodio/perl/ch-1.pl @@ -6,7 +6,8 @@ # Submitted by: Mohammad S Anwar # You are given two strings $A and $B. # -# Write a script to check if the given strings are Isomorphic. Print 1 if they are otherwise 0. +# Write a script to check if the given strings are Isomorphic. Print 1 if they +# are otherwise 0. # # Example 1: # Input: $A = "abc"; $B = "xyz" diff --git a/challenge-099/paulo-custodio/ada/ch_1.adb b/challenge-099/paulo-custodio/ada/ch_1.adb index 925660d9d7..fd79db2f4c 100644 --- a/challenge-099/paulo-custodio/ada/ch_1.adb +++ b/challenge-099/paulo-custodio/ada/ch_1.adb @@ -1,3 +1,5 @@ +-- Challenge 099 +-- -- TASK #1 › Pattern Match -- Submitted by: Mohammad S Anwar -- You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/ada/ch_2.adb b/challenge-099/paulo-custodio/ada/ch_2.adb index 9fd9d54077..e05007fb0e 100644 --- a/challenge-099/paulo-custodio/ada/ch_2.adb +++ b/challenge-099/paulo-custodio/ada/ch_2.adb @@ -1,3 +1,5 @@ +-- Challenge 099 +-- -- TASK #2 › Unique Sub-sequence -- Submitted by : Mohammad S Anwar -- You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/awk/ch-1.awk b/challenge-099/paulo-custodio/awk/ch-1.awk index e090e3fe64..57a0b663f3 100644 --- a/challenge-099/paulo-custodio/awk/ch-1.awk +++ b/challenge-099/paulo-custodio/awk/ch-1.awk @@ -1,5 +1,7 @@ #!/usr/bin/gawk +# Challenge 099 +# # TASK #1 > Pattern Match # Submitted by: Mohammad S Anwar # You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/awk/ch-2.awk b/challenge-099/paulo-custodio/awk/ch-2.awk index 8fd50fa366..abf6668f74 100644 --- a/challenge-099/paulo-custodio/awk/ch-2.awk +++ b/challenge-099/paulo-custodio/awk/ch-2.awk @@ -1,5 +1,7 @@ #!/usr/bin/gawk +# Challenge 099 +# # TASK #2 > Unique Subsequence # Submitted by: Mohammad S Anwar # You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/basic/ch-1.bas b/challenge-099/paulo-custodio/basic/ch-1.bas index 255f3147ce..1cc64aee12 100644 --- a/challenge-099/paulo-custodio/basic/ch-1.bas +++ b/challenge-099/paulo-custodio/basic/ch-1.bas @@ -1,3 +1,5 @@ +' Challenge 099 +' ' TASK #1 › Pattern Match ' Submitted by: Mohammad S Anwar ' You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/basic/ch-2.bas b/challenge-099/paulo-custodio/basic/ch-2.bas index b2733f8867..ac658b84b3 100644 --- a/challenge-099/paulo-custodio/basic/ch-2.bas +++ b/challenge-099/paulo-custodio/basic/ch-2.bas @@ -1,3 +1,5 @@ +' Challenge 099 +' ' TASK #2 › Unique Sub-sequence ' Submitted by : Mohammad S Anwar ' You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/c/ch-1.c b/challenge-099/paulo-custodio/c/ch-1.c index a22c7d91e2..82c1b4edb7 100644 --- a/challenge-099/paulo-custodio/c/ch-1.c +++ b/challenge-099/paulo-custodio/c/ch-1.c @@ -1,4 +1,6 @@ /* +Challenge 099 + TASK #1 › Pattern Match Submitted by: Mohammad S Anwar You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/c/ch-2.c b/challenge-099/paulo-custodio/c/ch-2.c index 5582d110a4..3b75674d56 100644 --- a/challenge-099/paulo-custodio/c/ch-2.c +++ b/challenge-099/paulo-custodio/c/ch-2.c @@ -1,4 +1,6 @@ /* +Challenge 099 + TASK #2 › Unique Sub-sequence Submitted by : Mohammad S Anwar You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/cpp/ch-1.cpp b/challenge-099/paulo-custodio/cpp/ch-1.cpp index 5fe6d95de2..67687d4582 100644 --- a/challenge-099/paulo-custodio/cpp/ch-1.cpp +++ b/challenge-099/paulo-custodio/cpp/ch-1.cpp @@ -1,4 +1,6 @@ /* +Challenge 099 + TASK #1 › Pattern Match Submitted by: Mohammad S Anwar You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/cpp/ch-2.cpp b/challenge-099/paulo-custodio/cpp/ch-2.cpp index cf0cfbd04a..e553a5eaa2 100644 --- a/challenge-099/paulo-custodio/cpp/ch-2.cpp +++ b/challenge-099/paulo-custodio/cpp/ch-2.cpp @@ -1,4 +1,6 @@ /* +Challenge 099 + TASK #2 › Unique Sub-sequence Submitted by : Mohammad S Anwar You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/forth/ch-1.fs b/challenge-099/paulo-custodio/forth/ch-1.fs index adcb5f14d7..3dd302fad2 100644 --- a/challenge-099/paulo-custodio/forth/ch-1.fs +++ b/challenge-099/paulo-custodio/forth/ch-1.fs @@ -1,5 +1,7 @@ #! /usr/bin/env gforth +\ Challenge 099 +\ \ TASK #1 › Pattern Match \ Submitted by: Mohammad S Anwar \ You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/forth/ch-2.fs b/challenge-099/paulo-custodio/forth/ch-2.fs index 7d1e47eead..26ff1a758d 100644 --- a/challenge-099/paulo-custodio/forth/ch-2.fs +++ b/challenge-099/paulo-custodio/forth/ch-2.fs @@ -1,5 +1,7 @@ #! /usr/bin/env gforth +\ Challenge 099 +\ \ TASK #2 › Unique Sub-sequence \ Submitted by : Mohammad S Anwar \ You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/lua/ch-1.lua b/challenge-099/paulo-custodio/lua/ch-1.lua index 225beeb34d..989dd87715 100644 --- a/challenge-099/paulo-custodio/lua/ch-1.lua +++ b/challenge-099/paulo-custodio/lua/ch-1.lua @@ -1,6 +1,8 @@ #!/usr/bin/env lua --[[ +Challenge 099 + TASK #1 › Pattern Match Submitted by: Mohammad S Anwar You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/lua/ch-2.lua b/challenge-099/paulo-custodio/lua/ch-2.lua index d74eb53626..9c52b32a2e 100644 --- a/challenge-099/paulo-custodio/lua/ch-2.lua +++ b/challenge-099/paulo-custodio/lua/ch-2.lua @@ -1,6 +1,8 @@ #!/usr/bin/env lua --[[ +Challenge 099 + TASK #2 › Unique Sub-sequence Submitted by : Mohammad S Anwar You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/perl/ch-1.pl b/challenge-099/paulo-custodio/perl/ch-1.pl index effafe2108..71b3a7ea93 100644 --- a/challenge-099/paulo-custodio/perl/ch-1.pl +++ b/challenge-099/paulo-custodio/perl/ch-1.pl @@ -1,5 +1,7 @@ #!/usr/bin/perl +# Challenge 099 +# # TASK #1 › Pattern Match # Submitted by: Mohammad S Anwar # You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/perl/ch-2.pl b/challenge-099/paulo-custodio/perl/ch-2.pl index d0a8c71867..d13a90524f 100644 --- a/challenge-099/paulo-custodio/perl/ch-2.pl +++ b/challenge-099/paulo-custodio/perl/ch-2.pl @@ -1,5 +1,7 @@ #!/usr/bin/perl +# Challenge 099 +# # TASK #2 › Unique Subsequence # Submitted by: Mohammad S Anwar # You are given two strings $S and $T. diff --git a/challenge-099/paulo-custodio/python/ch-1.py b/challenge-099/paulo-custodio/python/ch-1.py index 60295131f4..4516a3254f 100644 --- a/challenge-099/paulo-custodio/python/ch-1.py +++ b/challenge-099/paulo-custodio/python/ch-1.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +# Challenge 099 +# # TASK #1 > Pattern Match # Submitted by: Mohammad S Anwar # You are given a string $S and a pattern $P. diff --git a/challenge-099/paulo-custodio/python/ch-2.py b/challenge-099/paulo-custodio/python/ch-2.py index e065b17674..e82e57f635 100644 --- a/challenge-099/paulo-custodio/python/ch-2.py +++ b/challenge-099/paulo-custodio/python/ch-2.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +# Challenge 099 +# # TASK #2 > Unique Sub-sequence # Submitted by : Mohammad S Anwar # You are given two strings $S and $T. diff --git a/challenge-100/paulo-custodio/ada/ch_1.adb b/challenge-100/paulo-custodio/ada/ch_1.adb index e5f362c639..c2bd973b79 100644 --- a/challenge-100/paulo-custodio/ada/ch_1.adb +++ b/challenge-100/paulo-custodio/ada/ch_1.adb @@ -1,3 +1,5 @@ +-- 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/ada/ch_2.adb b/challenge-100/paulo-custodio/ada/ch_2.adb index 36d95ef473..b54340b46f 100644 --- a/challenge-100/paulo-custodio/ada/ch_2.adb +++ b/challenge-100/paulo-custodio/ada/ch_2.adb @@ -1,3 +1,5 @@ +-- Challenge 100 +-- -- TASK #2 > Triangle Sum -- Submitted by: Mohammad S Anwar -- You are given triangle array. diff --git a/challenge-100/paulo-custodio/awk/ch-1.awk b/challenge-100/paulo-custodio/awk/ch-1.awk index 83c0caffe6..9f99dbf8d1 100644 --- a/challenge-100/paulo-custodio/awk/ch-1.awk +++ b/challenge-100/paulo-custodio/awk/ch-1.awk @@ -1,5 +1,7 @@ #!/usr/bin/gawk +# 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/awk/ch-2.awk b/challenge-100/paulo-custodio/awk/ch-2.awk index 77fac41676..e063082aca 100644 --- a/challenge-100/paulo-custodio/awk/ch-2.awk +++ b/challenge-100/paulo-custodio/awk/ch-2.awk @@ -1,5 +1,7 @@ #!/usr/bin/gawk +# Challenge 100 +# # TASK #2 > Triangle Sum # Submitted by: Mohammad S Anwar # You are given triangle array. diff --git a/challenge-100/paulo-custodio/basic/ch-2.bas b/challenge-100/paulo-custodio/basic/ch-2.bas index 6ba0800802..407b0f24ea 100644 --- a/challenge-100/paulo-custodio/basic/ch-2.bas +++ b/challenge-100/paulo-custodio/basic/ch-2.bas @@ -1,3 +1,5 @@ +' Challenge 100 +' ' TASK #2 > Triangle Sum ' Submitted by: Mohammad S Anwar ' You are given triangle array. diff --git a/challenge-100/paulo-custodio/c/ch-1.c b/challenge-100/paulo-custodio/c/ch-1.c index d0a33a1f36..9638b7d656 100644 --- a/challenge-100/paulo-custodio/c/ch-1.c +++ b/challenge-100/paulo-custodio/c/ch-1.c @@ -1,4 +1,6 @@ /* +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/c/ch-2.c b/challenge-100/paulo-custodio/c/ch-2.c index 1d68e1d2d6..6a772d3a01 100644 --- a/challenge-100/paulo-custodio/c/ch-2.c +++ b/challenge-100/paulo-custodio/c/ch-2.c @@ -1,4 +1,6 @@ /* +Challenge 100 + TASK #2 > Triangle Sum Submitted by: Mohammad S Anwar You are given triangle array. diff --git a/challenge-100/paulo-custodio/cpp/ch-1.cpp b/challenge-100/paulo-custodio/cpp/ch-1.cpp index 0516a4bd31..115f577c53 100644 --- a/challenge-100/paulo-custodio/cpp/ch-1.cpp +++ b/challenge-100/paulo-custodio/cpp/ch-1.cpp @@ -1,4 +1,6 @@ /* +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/cpp/ch-2.cpp b/challenge-100/paulo-custodio/cpp/ch-2.cpp index b672a5cffe..c94b0355a3 100644 --- a/challenge-100/paulo-custodio/cpp/ch-2.cpp +++ b/challenge-100/paulo-custodio/cpp/ch-2.cpp @@ -1,4 +1,6 @@ /* +Challenge 100 + TASK #2 > Triangle Sum Submitted by: Mohammad S Anwar You are given triangle array. diff --git a/challenge-100/paulo-custodio/forth/ch-1.fs b/challenge-100/paulo-custodio/forth/ch-1.fs index a4008e5be2..6289a61a34 100644 --- a/challenge-100/paulo-custodio/forth/ch-1.fs +++ b/challenge-100/paulo-custodio/forth/ch-1.fs @@ -1,5 +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 7592af483c..e792301d4e 100644 --- a/challenge-100/paulo-custodio/forth/ch-2.fs +++ b/challenge-100/paulo-custodio/forth/ch-2.fs @@ -1,5 +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/lua/ch-2.lua b/challenge-100/paulo-custodio/lua/ch-2.lua index 9f917fe53a..2c73edb907 100644 --- a/challenge-100/paulo-custodio/lua/ch-2.lua +++ b/challenge-100/paulo-custodio/lua/ch-2.lua @@ -1,6 +1,8 @@ #!/usr/bin/env lua --[[ +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 c45d44b567..baade5121c 100644 --- a/challenge-100/paulo-custodio/perl/ch-1.pl +++ b/challenge-100/paulo-custodio/perl/ch-1.pl @@ -1,5 +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 7221ce2880..9f78a241ba 100644 --- a/challenge-100/paulo-custodio/perl/ch-2.pl +++ b/challenge-100/paulo-custodio/perl/ch-2.pl @@ -1,5 +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 818624d76b..7cabc2f1a7 100644 --- a/challenge-100/paulo-custodio/python/ch-1.py +++ b/challenge-100/paulo-custodio/python/ch-1.py @@ -1,5 +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 9491b675e0..1f27d99c01 100644 --- a/challenge-100/paulo-custodio/python/ch-2.py +++ b/challenge-100/paulo-custodio/python/ch-2.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +# Challenge 100 +# # TASK #2 > Triangle Sum # Submitted by: Mohammad S Anwar # You are given triangle array. diff --git a/challenge-101/paulo-custodio/ada/ch_1.adb b/challenge-101/paulo-custodio/ada/ch_1.adb index 825cb53996..fd9f20df4c 100644 --- a/challenge-101/paulo-custodio/ada/ch_1.adb +++ b/challenge-101/paulo-custodio/ada/ch_1.adb @@ -1,4 +1,9 @@ --- You are given an array @A of items (integers say, but they can be anything). +-- Challenge 101 +-- +-- TASK #1 › Pack a Spiral +-- Submitted by: Stuart Little +-- +-- -- You are given an array @A of items (integers say, but they can be anything). -- -- Your task is to pack that array into an MxN matrix spirally counterclockwise, -- as tightly as possible. diff --git a/challenge-101/paulo-custodio/ada/ch_2.adb b/challenge-101/paulo-custodio/ada/ch_2.adb index 37a6384012..f52e3faa33 100644 --- a/challenge-101/paulo-custodio/ada/ch_2.adb +++ b/challenge-101/paulo-custodio/ada/ch_2.adb @@ -1,3 +1,5 @@ +-- Challenge 101 +-- -- TASK #2 › Origin-containing Triangle -- Submitted by: Stuart Little -- You are given three points in the plane, as a list of six co-ordinates: diff --git a/challenge-101/paulo-custodio/basic/ch-1.bas b/challenge-101/paulo-custodio/basic/ch-1.bas index 948f35eea7..f958245d3e 100644 --- a/challenge-101/paulo-custodio/basic/ch-1.bas +++ b/challenge-101/paulo-custodio/basic/ch-1.bas @@ -1,3 +1,8 @@ +' Challenge 101 +' +' TASK #1 › Pack a Spiral +' Submitted by: Stuart Little +' ' You are given an array @A of items (integers say, but they can be anything). ' ' Your task is to pack that array into an MxN matrix spirally counterclockwise, diff --git a/challenge-101/paulo-custodio/basic/ch-2.bas b/challenge-101/paulo-custodio/basic/ch-2.bas index 9a54875dc4..30c62f9fb6 100644 --- a/challenge-101/paulo-custodio/basic/ch-2.bas +++ b/challenge-101/paulo-custodio/basic/ch-2.bas @@ -1,3 +1,5 @@ +' Challenge 101 +' ' TASK #2 › Origin-containing Triangle ' Submitted by: Stuart Little ' You are given three points in the plane, as a list of six co-ordinates: diff --git a/challenge-101/paulo-custodio/lua/ch-1.lua b/challenge-101/paulo-custodio/lua/ch-1.lua index 168993f879..7eac6f60f5 100644 --- a/challenge-101/paulo-custodio/lua/ch-1.lua +++ b/challenge-101/paulo-custodio/lua/ch-1.lua @@ -1,6 +1,11 @@ #!/usr/bin/env lua --[[ +Challenge 101 + +TASK #1 › Pack a Spiral +Submitted by: Stuart Little + You are given an array @A of items (integers say, but they can be anything). Your task is to pack that array into an MxN matrix spirally counterclockwise, diff --git a/challenge-101/paulo-custodio/lua/ch-2.lua b/challenge-101/paulo-custodio/lua/ch-2.lua index a748e1bd02..47a12b657e 100644 --- a/challenge-101/paulo-custodio/lua/ch-2.lua +++ b/challenge-101/paulo-custodio/lua/ch-2.lua @@ -1,6 +1,8 @@ #!/usr/bin/env lua --[[ +Challenge 101 + TASK #2 › Origin-containing Triangle Submitted by: Stuart Little You are given three points in the plane, as a list of six co-ordinates: diff --git a/challenge-101/paulo-custodio/perl/ch-1.pl b/challenge-101/paulo-custodio/perl/ch-1.pl index 3e637254fb..b203d06266 100644 --- a/challenge-101/paulo-custodio/perl/ch-1.pl +++ b/challenge-101/paulo-custodio/perl/ch-1.pl @@ -1,5 +1,10 @@ #!/usr/bin/perl +# Challenge 101 +# +# TASK #1 › Pack a Spiral +# Submitted by: Stuart Little +# # You are given an array @A of items (integers say, but they can be anything). # # Your task is to pack that array into an MxN matrix spirally counterclockwise, diff --git a/challenge-101/paulo-custodio/perl/ch-2.pl b/challenge-101/paulo-custodio/perl/ch-2.pl index c95d924af1..b5e7a71f64 100644 --- a/challenge-101/paulo-custodio/perl/ch-2.pl +++ b/challenge-101/paulo-custod |
