| AnnaTolstoy/evgesha | AnnaTolstoy/TKinazarov | ||||
|---|---|---|---|---|---|
| n | n | 1 | import random | ||
| 1 | import sys | 2 | import sys | ||
| n | 2 | import random | n | ||
| 3 | L = int(input()) | 3 | L = int(input()) | ||
| 4 | Txt = sys.stdin.read().replace('\n ', ' @ ').split() | 4 | Txt = sys.stdin.read().replace('\n ', ' @ ').split() | ||
| t | 5 | st = random.randint(0, len(Txt) - L) | t | 5 | n = random.randint(0, len(Txt) - L) |
| 6 | print(' '.join(Txt[st:st + L])) | 6 | print(' '.join(Txt[n:n + L])) | ||
| Legends | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||