Next highest int from digits: Difference between revisions

Content added Content deleted
Line 340: Line 340:
# main :: IO ()
# main :: IO ()
def main():
def main():
'''Taking up to 5 digit shuffle sucessors for each:'''
'''Taking up to 5 digit-shuffle sucessors for each:'''


print(
print(
Line 353: Line 353:
738440,
738440,
45072010,
45072010,
95322020,
95322020
])
])
)
)
Line 406: Line 406:
main()</lang>
main()</lang>
{{Out}}
{{Out}}
<pre>Taking up to 5 digit shuffle sucessors for each:
<pre>Taking up to 5 digit-shuffle sucessors for each:
0 -> []
0 -> []
9 -> []
9 -> []