kryptografia/1/1.py
2024-10-19 20:16:04 +02:00

7 lines
133 B
Python

from gmpy2 import *
import random
k = int(input())
max_b = pow(2, k) - 1
b = mpz(random.randint(0, max_b))
print(b.__format__('#b'))