From 1c7830764b45d39110d71a3879c2cc3f79afb922 Mon Sep 17 00:00:00 2001 From: Abigail Date: Sat, 23 Jan 2021 22:18:40 +0100 Subject: Add challenge description to README.md. --- challenge-002/abigail/README | 1 - challenge-002/abigail/README.md | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) delete mode 100644 challenge-002/abigail/README create mode 100644 challenge-002/abigail/README.md diff --git a/challenge-002/abigail/README b/challenge-002/abigail/README deleted file mode 100644 index 5f0d73ae16..0000000000 --- a/challenge-002/abigail/README +++ /dev/null @@ -1 +0,0 @@ -Solution by Abigail diff --git a/challenge-002/abigail/README.md b/challenge-002/abigail/README.md new file mode 100644 index 0000000000..cdabb3e041 --- /dev/null +++ b/challenge-002/abigail/README.md @@ -0,0 +1,24 @@ +# Solutions by Abigail + +## [Challenge #1](https://perlweeklychallenge.org/blog/perl-weekly-challenge-002/#challenge-1) + +Write a script or one-liner to remove leading zeros from positive numbers. + +### Notes +We will be reading numbers from STDIN, and writing the results to STDOUT, +one number per line. + +We cannot have a number with just 0's, as that would not be a positive number. + +## [Challenge #2](https://perlweeklychallenge.org/blog/perl-weekly-challenge-002/#challenge-2) + +Write a script that can convert integers to and from a base35 +representation, using the characters 0-9 and A-Y. Dave Jacoby came +up with nice description about +[base35](https://gist.github.com/jacoby/764bb4e8a5d3a819b5fbfa497fcb3454), +in case you needed some background. + +### Note +We will be reading numbers from STDIN, and writing the results to STDOUT, +one number per line. We'll use a prefix (T/F) to indicate whether the +number needs to be translated To of From base35. -- cgit