Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def f(a, b, m):
- if a + b >= 59:
- return m % 2 == 0
- if m == 0:
- return 0
- h = [f(a + 1, b, m-1), f(a * 2, b, m-1), f(a, b + 1, m-1), f(a, b * 2, m-1)]
- https://tmearn.net/z91e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement