scripts/ege/Основная волна. Второй день/15.py
2023-05-05 00:45:01 +03:00

13 lines
295 B
Python

for a in range(10000):
s = True
for x in range(1000):
for y in range(1000):
r = (x + y <= 22) or (y <= x - 6) or (y >= a)
if not r:
s = False
break
if not s:
break
if s:
print(a)