import time
import random as rd
CGRAS = '\033[1m' ; CEND  = '\x1b[0m' ; CGREEN = "\x1b[36m";
CRED  = "\x1b[35m"; CBLUE = "\x1b[34m"

# -- Question 1

def LAleatoire(nbValeurs,a,b):
    L = []
    longueur = 0


    return L

# -- Question 2

def LAleatoireBN(nbValeurs,a,b):
    D = {}
    L = []
    longueur = 0


    return L

# -- Tests
'''
print(CBLUE+CGRAS+"Avec la fonction LAleatoire"+CEND)
for k in range(2,5):
    tdebut = time.time()
    LAleatoire(10**k,10**9,10**10)
    tfin = time.time()
    print(CRED+CGRAS+"Creation d'une liste de",10**k,"entiers distincts :"+CEND)
    print("temps =",tfin-tdebut,"s")
'''
'''
print(CBLUE+CGRAS+"\nAvec la fonction LAleatoireBN"+CEND)
for k in range(2,5):
    tdebut = time.time()
    LAleatoireBN(10**k,10**9,10**10)
    tfin = time.time()
    print(CRED+CGRAS+"Creation d'une liste de",10**k,"entiers distincts :"+CEND)
    print("temps =",tfin-tdebut,"s")
'''