Initial release

This commit is contained in:
Francois JUMELLE
2021-05-03 22:32:40 +02:00
commit 20526d93c8
928 changed files with 452368 additions and 0 deletions

11
Remplissage au mieux.py Normal file
View File

@@ -0,0 +1,11 @@
import itertools
input = 1881
liste = [12, 24, 31, 77, 87, 103, 112, 145, 181, 197, 205, 217, 224, 225, 228, 255, 263, 278, 289, 297]
for i in range(2, len(liste)):
r = itertools.combinations(liste, i)
for j in r:
if sum(j) == input:
print(j)
break