srm466 div1 500 combination

c[i][j] = c[i-1][j-1] + c[i-1][j]