Range Multiplication Sum

2 secs 1024 MB
bayashiko