<filename>oi/Contest/uoj/UNR2/A-gen.py<gh_stars>1-10
#!/usr/bin/env pypy

from sys import *
from random import *

n, CMAX = map(int, argv[1:])

print n, randint(1, n)
print " ".join(map(str, [randint(1, CMAX) for i in xrange(n)]))

<filename>oi/Contest/uoj/UNR2/A-gen.py<gh_stars>1-10
#!/usr/bin/env pypy

from sys import *
from random import *

n, CMAX = map(int, argv[1:])

print n, randint(1, n)
print " ".join(map(str, [randint(1, CMAX) for i in xrange(n)]))

#!/usr/bin/env pypy