help me solve this NTT problem

Revision en1, by omar_amer47, 2024-02-24 20:02:05

I'm trying to solve Power sum on codechef https://www.codechef.com/SEPT19A/problems/PSUM, the problem can be solved using Dp and NTT. however when I viewed the submissions I noticed that the solution involves using the power series, can somebody please explain the intuition behind the solution and why do we use the power series? thats one of the submissions to the problem https://www.codechef.com/viewsolution/26607700 .

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English omar_amer47 2024-02-24 20:02:05 455 Initial revision (published)