4 from optparse import OptionParser
8 """Convertit un nombre en binaire"""
10 res =[0 for i in range(n)]
25 acc = acc + 2**(n-i-1)
29 f=[2,3,4,1,4,3,2,3,1,4,1,3,2,1,2,4]
30 f=[5,2,6,3,5,4,6,1,5,4,6,3,5,2,6,3,5,1,6,4,6,1,5,3,6,2,6,1,5,2,6,4,5,2,6,3,5,4,6,1,5,4,6,3,5,2,6,3,5,1,6,4,6,1,5,3,6,2,6,1,5,2,6,4]
32 f=[4, 2, 1, 5, 1, 2, 6, 2, 1, 2, 6, 5, 3, 5, 6, 1, 4, 6, 4, 5, 4, 1, 3, 2, 5, 2, 3, 6, 3, 2, 3, 4, 6, 4, 5, 4, 1, 5, 6, 4, 6, 5, 3, 5, 2, 6, 2, 5, 3, 4, 1, 4, 3, 2, 3, 1, 4, 1, 3, 2, 1, 2, 4, 6]
36 n = int(log(len(f))/log(2))
40 for start in range(lf):
43 #print start, f[start:start+t],set(f[start:start+t]),len(set(f[start:start+t])),n
44 while len(set(f[start:start+t]))<n: