ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1747. Kingdom Inspection

please give me right answer for this testcases...
Posted by napst101r 28 Jun 2010 02:57
1000 1000000007
100000 1000000007

thanks
Re: please give me right answer for this testcases...
Posted by Vedernikoff Sergey (HSE: АОП) 28 Jun 2010 04:41
If this will help you somehow...

1000 1000000007 -> 161507394
100000 1000000007 -> 573507585