Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. from random import *
  2. n = 100
  3. k = randrange((n*(n-1)/2)+1)
  4. N = 10**1 + 1
  5. print n, k
  6. for i in xrange(n):
  7.     print randrange(N),
  8. print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement