a guest Aug 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- n, m = map(int, input().split())
- a = [ * n for i in range(m)]
- for i in range(1, m):
- for j in range(1, n):
- a[i][j] = a[i-1][j] + a[i][j-1]
RAW Paste Data