Non-transitive dice: Difference between revisions
Content added Content deleted
m (→Stretch: length-3 combinations of 6-sided dice: comment) |
m (→{{header|Phix}}: minor tidy) |
||
Line 504: | Line 504: | ||
function low_rotation(sequence set) |
function low_rotation(sequence set) |
||
integer k = find( |
integer k = find(min(set),set) |
||
return set[k..$]&set[1..k-1] |
return set[k..$]&set[1..k-1] |
||
end function |
end function |