Perl Weekly Challenge - 039

Monday, Dec 16, 2019| Tags: Perl, Raku


HEADLINES



With great pleasure, we announce Ryan Thompson as the winner of “Perl Weekly Challenge - 038”. Congratulations Ryan, you should soon hear from Perl Careers about your reward. For rest of the participants, I would say Good Luck for next time. Keep sending in your solutions and share your knowledge with each other.



RECAP



Here is the recap of last week “Perl Weekly Challenge - 038”.



PERL REVIEW



Please checkout Perl solutions review of the “Perl Weekly Challenge - 037” by Kian-Meng Ang.

If you missed any past reviews then please checkout the collection.



RAKU REVIEW



If you missed any past reviews then please checkout 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



Check out current team members.

Please find out How to contribute?, if you have any doubts.



GUESTS



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



TASK #1



A guest house had a policy that the light remain ON as long as the at least one guest is in the house. There is guest book which tracks all guest in/out time. Write a script to find out how long in minutes the light were ON.

Guest Book

1) Alex    IN: 09:10 OUT: 09:45
2) Arnold  IN: 09:15 OUT: 09:33
3) Bob     IN: 09:22 OUT: 09:55
4) Charlie IN: 09:25 OUT: 10:05
5) Steve   IN: 09:33 OUT: 10:01
6) Roger   IN: 09:44 OUT: 10:12
7) David   IN: 09:57 OUT: 10:23
8) Neil    IN: 10:01 OUT: 10:19
9) Chris   IN: 10:10 OUT: 11:00


TASK #2

Contributed by Andrezgz



Write a script to demonstrate Reverse Polish notation(RPN). Checkout the wiki page for more information about RPN.



Last date to submit the solution 23:59 (UK Time) Sunday 22nd December 2019.



SO WHAT DO YOU THINK ?

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

Contact with me