Sum of sequences

Problem Name:
Sum of sequences
Site:CodeForces
Links:
Tags:
Problem setters: