chore: sync local changes

This commit is contained in:
2026-03-01 12:55:17 +03:00
parent 27ee32be38
commit f1bc254c6b
8 changed files with 192 additions and 292 deletions

13
11.py Normal file
View File

@@ -0,0 +1,13 @@
def f(x, p1, p2):
if x == 3:
return 1
elif x == 38:
p1 += 1
elif x == 18:
p2 += 1
else:
if p2 >= 1 or p1 >= 1:
return f(x - 3, p1, p2) + f(x // 3, p1, p2) + f(x - 5, p1, p2)
print(f(80, 0, 0))