Root of quantum Fourier transform

Problem Name:
Root of quantum Fourier transform
Site:CodeForces
Links:
Tags:
Problem setters: