Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import shuffle
- N = 10 ** 7
- def task(N):
- r = range(N)
- shuffle(r)
- r.sort()
- task(N)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement