Problem F from CERC 15

Revision en1, by SureYeaah, 2017-12-18 17:39:34

I was trying to solve problem F from CERC 15. The problem was basically reduced to finding the sum . How can I find this sum in better than quadratic time without FFT?

Tags cumulative sum, generating function, cerc

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English SureYeaah 2017-12-18 17:39:34 278 Initial revision (published)