Epic Convolution

2020 VietMX 0

You are given two arrays $a_0, a_1, \ldots, a_{n – 1}$ and $b_0, b_1, \ldots, b_{m-1}$, and an integer $c$. Compute the following sum: $$\sum_{i=0}^{n-1} […]