예제 #1
0
from itertools import permutations
from acmlib import get_nth

print ''.join(get_nth(permutations("0123456789"), 999999))
예제 #2
0
from acmlib import all_primes, get_nth

print get_nth(all_primes(), 10001)