summaryrefslogtreecommitdiff
path: root/progs/a333.py
blob: aa38d2bdc769d9773bbaff3b9f2b1f2c14a90e11 (plain)
1
2
3
4
def dealnnoy_num(n, m): 
	if (m == 0 or n == 0) : 
		return 1
	return dealnnoy_num(m - 1, n) + dealnnoy_num(m - 1, n - 1) + dealnnoy_num(m, n - 1)