Tuesday, August 19, 2014

COJ 1046. Product Subsequence

You only need to count I*(I+1)*(I+2) and then count the sum of these in the specific range but be careful when handling modulo 100.


       FULL SOURCE CODE

No comments:

Post a Comment