The Weekly Challenge - 133

Monday, Oct 4, 2021| Tags: Perl, Raku

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: Integer Square Root

10. TASK #2: Smith Numbers


HEADLINES


Welcome to the Week #133 and today is the first Monday of the month. So it is time to declare the champion. I announce the next champion, Jan Krnavek, a Raku enthusiast. He is ranked #36 in the leaderboard with total score of 218 as of today. He shared 109 solutions in Raku. Congratulation Jan Krnavek and thanks for your consistent contributions.

Talking about champion, we now have the interview with the last champion, Jorg Sommrey. Please do check it out.

Team PWC, are you taking part in Hacktoberfest 2021?

I am sure, most of you are. If you are regular contributor to the weekly challenge then it is lot easier just register your details with them. Luckily I have marked GitHub repository for Club Members and Website ready for Hacktoberfest 2021.

Last week a collegue, James Raspass, from my new office, Oleeo joined the team. Welcome on board and wish you a enjoyable journey with us.

Welcome back, Rage311 after a short break. It is always pleasure to see members coming back and share the knowledge with the team.

I am expecting few more this month.

As far as my contributions are concerned, I have shared solutions to both Task #1 and Task #2 in Perl after a long time. If you noticed, I submitted my solutions at around 2am well past the deadline last night.

Last but not least, keep sharing your knowledge and happy hacking.


Blogs with Creative Title


1. Mirrored Hash by Arne Sommer.

2. Dates(!) and Hashes(?) and Names, Oh My!!: by Dave Jacoby.

3. Hash on the Mirror by Roger Bell_West.


Let us share some interesting stats from the GitHub repository.

1. Commits: 20,186 (+112)

2. Pull Requests: 4,957 (+29)

3. Contributors: 179 (+1)

4. Fork: 225

5. Stars: 106 (+1)


Last but not least, I would like to thank each and every member for their support and encouragement.



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 2021. 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 2021. 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 - 132” by Mohammad S Anwar.


PERL REVIEW


Please check out Perl solutions review of the “The Weekly Challenge - 130” 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


James Raspass, an expert Perl/Raku hacker from London.

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 #132.

Please find past solutions by respected guests. Please share your creative solutions in other languages.


TASK #1 › Integer Square Root

Submitted by: Mohammad S Anwar

You are given a positive integer $N.

Write a script to calculate the integer square root of the given number.

Please avoid using built-in function. Find out more about it here.

Examples

Input: $N = 10
Output: 3

Input: $N = 27
Output: 5

Input: $N = 85
Output: 9

Input: $N = 101
Output: 10

TASK #2 › Smith Numbers

Submitted by: Mohammad S Anwar

Write a script to generate first 10 Smith Numbers in base 10.

According to Wikipedia:

In number theory, a Smith number is a composite number for which, in a given number base, the sum of its digits is equal to the sum of the digits in its prime factorization in the given number base.



Last date to submit the solution 23:59 (UK Time) Sunday 10th October 2021.


SO WHAT DO YOU THINK ?

If you have any suggestions or ideas then please do share with us.

Contact with me