Rosetta Problems

Fourier Coefficients

https://atcoder.jp/contests/utpc2024/tasks/utpc2024_f