Joshephus or MamakoDate Sequence EASY by murky-satyr

Eval.me"$System.in".replaceAll(/(.+) (.+)/,'i=0;println([*a=[*1..$1]].sum{" "+a.remove(i=(i+$2-1)%a.size)}-" ")')

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page