Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Aceitunas -> www.perlenespanol.com
- use v5.16;
- for my $m(1..9)
- {
- for my $a(1..9)
- {
- for my $d(1..9)
- {
- say "$m$a$d" if ("$d$d" + "$a$a"+ "$m$m" == "$m$a$d");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement