Created
May 29, 2012 15:03
-
-
Save mantognini/2828929 to your computer and use it in GitHub Desktop.
q211
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub q211 | |
| { | |
| my %table = (); | |
| my $index = 0; | |
| foreach $i (A..R) { | |
| $table{$i} = int ($index++ / 3) + 2; | |
| } | |
| $index = 0; | |
| foreach $i (T..Y) { | |
| $table{$i} = int ($index++ / 3) + 8; | |
| } | |
| $table{S} = 7; | |
| $table{Z} = 9; | |
| return %table; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment