mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-22 11:56:33 +03:00
14 lines
293 B
Python
14 lines
293 B
Python
for A in range(1000):
|
|
f = True
|
|
for x in range(1000):
|
|
for y in range(1000):
|
|
r = (x + 2 * y < A) or (y > x) or (x > 20)
|
|
if not r:
|
|
f = False
|
|
break
|
|
if not f:
|
|
break
|
|
if f:
|
|
print(A)
|
|
break
|