TABLE OF CONTENTS
01. HEADLINES
02. SPONSOR
03. RECAP
04. PERL REVIEW
05. RAKU REVIEW
06. CHART
07. NEW MEMBERS
08. GUESTS
09. TASK #1: Last Sunday
10. TASK #2: Perfect Totient Numbers
HEADLINES
Welcome to Week #175
of the weekly challenge.
Let us all welcome, Nicolas Mendoz
and thanks for the contribution in Perl.
Thank you, Gurunandan Bhat
for the first contribution in Perl.
Laurent Rosenfeld
once again, the lead guest contributors with 22 solutions
in 18 different
languages. Thank you.
Getting back on track with contributions, I have shared solutions in Perl, Raku, Python, Java and Swift.
Task #1: Disarium Numbers
+------+---------+------------+---------+--------+--------+
| | Perl | Raku | Python | Java | Swift |
+------+---------+------------+---------+--------+--------+
| real | 26.728s | 9m 11.931s | 50.547s | 3.557s | 7.283s |
| user | 25.375s | 8m 26.000s | 46.625s | 3.031s | 1.406s |
| sys | 0.875s | 2.438s | 0.484s | 0.734s | 1.984s |
+------+---------+------------+---------+--------+--------+
Task #2: Permutation Ranking
+------+---------+--------+--------+--------+--------+
| | Perl | Raku | Python | Java | Swift |
+------+---------+--------+--------+--------+--------+
| real | 1.704s | 1.819s | 1.697s | 0.648s | 3.091s |
| user | 0.313s | 0.875s | 0.547s | 0.344s | 1.406s |
| sys | 0.500s | 0.328s | 0.609s | 0.391s | 1.250s |
+------+---------+--------+--------+--------+--------+
I have sent enquiry about T-shirt
order and received the automated reply. Waiting for the proper response.
Blogs with Creative Title
1. Permutations Ranked in Disarray on Mars by Adam Russell.
2. Disarmed Ranking by Arne Sommer.
3. the power of permutations by Luca Ferrari.
4. The Rank Smell of Disarium by Roger Bell_West.
GitHub Repository Stats
1. Commits: 26,808 (+144)
2. Pull Requests: 6,488 (+38)
3. Contributors: 201 (+2)
4. Fork: 253
5. Stars: 143 (+1)
SPONSOR
Our solo sponsor Pete Sergeant
has been a great support to keep us motivated. We are lucky that he agreed to continue the journey with us in the year 2022. I would like to personally thank Pete and his entire team for their generosity. It would be great if we could add few more to sponsor the prize money so that we could go back and declare weekly champions as we have done in the past. I hope and wish this will become possible in 2022. The amount doesn’t have to be huge. However, it would be nice to show off bunch of supporters. If an organisation comes forward and supports us then that would be the ultimate achievement.
RECAP
Quick recap of The Weekly Challenge - 174 by Mohammad S Anwar
.
PERL REVIEW
Please check out Perl solutions review of The Weekly Challenge - 169 by Colin Crain
.
If you missed any past reviews then please check out the collection.
RAKU REVIEW
If you missed any past reviews then please check out the collection.
CHART
Please take a look at the charts showing interesting data.
I would like to THANK
every member of the team for their valuable suggestions. Please do share your experience with us.
NEW MEMBERS
Nicolas Mendoz, an experienced Perl
hacker from Oslo, Norway
.
Please find out How to contribute?, if you have any doubts.
Please try the excellent tool EZPWC created by respected member Saif Ahmed
of Team PWC.
GUESTS
Please checkout the guest contributions for the Week #174.
Please find past solutions by respected guests. Please share your creative solutions in other languages.
Task 1: Last Sunday
Submitted by: Mohammad S Anwar
Write a script to list Last Sunday
of every month in the given year.
For example, for year 2022, we should get the following:
2022-01-30
2022-02-27
2022-03-27
2022-04-24
2022-05-29
2022-06-26
2022-07-31
2022-08-28
2022-09-25
2022-10-30
2022-11-27
2022-12-25
Task 2: Perfect Totient Numbers
Submitted by: Mohammad S Anwar
Write a script to generate first 20 Perfect Totient Numbers
. Please checkout wikipedia page for more informations.
Output
3, 9, 15, 27, 39, 81, 111, 183, 243, 255, 327, 363, 471, 729,
2187, 2199, 3063, 4359, 4375, 5571
Last date to submit the solution 23:59 (UK Time) Sunday 31st July 2022.