Initial release
This commit is contained in:
16
Le code de James.py
Normal file
16
Le code de James.py
Normal file
@@ -0,0 +1,16 @@
|
||||
sol = list()
|
||||
|
||||
MAX = 100
|
||||
n = (1918, 1921, 1920, 1924, 1953, 1968)
|
||||
|
||||
for a in range(MAX):
|
||||
for b in range(MAX):
|
||||
for c in range(MAX):
|
||||
sol.append((2**a)*(3**b)*(5**c))
|
||||
|
||||
sol = sorted(sol)
|
||||
|
||||
for i in n:
|
||||
print(i, sol[7*i-1])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user