Help Required!!

Revision en1, by Misa-Misa, 2023-09-19 09:19:40

Problem

You are given two vectors A and B, for each 1 <= k <= 2*N we want to find out C[k] where C[k] is sum of all A[i]*B[j] such that i + j == k.

Constraints

N <= 1e6

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Misa-Misa 2023-09-19 09:20:12 0 (published)
en1 English Misa-Misa 2023-09-19 09:19:40 242 Initial revision (saved to drafts)