How to solve SUMMUL from Spoj ?
How to solve the below problem ?
SUMMUL — SPOJ
Repovive Starter Round 2 — Solution Discussion