Is this FFT?

Problem Name:
Is this FFT?
Site:CodeForces
Links:
Tags: