We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #164: Numbers for which no three consecutive digits have a sum greater than a given value.
You are viewing a single comment's thread. Return to all 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