Long stairs: Difference between revisions
m
→{{header|Raku}}: pre-increment is cheaper than post increment (though the difference is miniscule)
Thundergnat (talk | contribs) (→{{header|Raku}}: Add a Raku example) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: pre-increment is cheaper than post increment (though the difference is miniscule)) |
||
Line 181:
loop {
last if $location > $stairs;
for (^$stairs).roll(5) {
}
say " $seconds $location {$stairs-$location}" if !$_ && (599 < $seconds < 610);
|