C. Sum of product of pairs

Problem Name:
C. Sum of product of pairs
Site:AtCoder
Links:
Tags: