CF 1967E1 - Again Counting Arrays (Easy Version)
CF 1967E1 - Again Counting Arrays (Easy Version) Rating: 3100 Tags: combinatorics, dp, fft, math Solve time: 1m 13s Verified: no Solution Problem Understanding We are given a fixed starting height $b_0$ and we imagine building an integer path $b_0, b_1, \ldots, b_n$ where each step moves by exactly $+1$ or $-1$, but the path is never allowed to go below zero. This is a standard “walk on the non-negative...