Help With FFT

Правка en1, от sdssudhu, 2018-08-15 09:39:12

This is the snippet I have for FFT. But I feel it is slow in many cases.

One example is http://codeforces.net/problemset/submission/958/41610928 which takes nearly 3.85 seconds to pass for n=200000

Can somebody help me to optimise it.

Thanks.

Теги fft, #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sdssudhu 2018-08-15 09:39:12 297 Initial revision (published)