|
|
вернуться в форумhint (if you need it) Послано Aneto 11 июл 2012 22:16 I had WA5. After I spent some hours i found out that i used 100000007 instead of 1000000007, so, please, be careful. PS. If n=1000000 then answer is 71348251 I hope it will help someone someday. Re: hint (if you need it) Послано Noob 11 июл 2012 23:44 Just write "1000*1000*1000+7" and be happy :) Exponential notation (1e9+7) saves nerves :-) $subject Edited by author 12.07.2012 01:15 |
|
|