Project Euler #164: Numbers for which no three consecutive digits have a sum greater than a given value.

  • + 2 comments

    I have solved The problem but I am having problem to print Answer Modulo 10^9+7. It is coming into the range of double.That is why % operator is not working sice it is a binary operand. Please help me