{"id":375,"date":"2010-09-14T23:09:00","date_gmt":"2010-09-14T15:09:00","guid":{"rendered":"http:\/\/localhost\/?p=375"},"modified":"2010-09-14T23:09:00","modified_gmt":"2010-09-14T15:09:00","slug":"llh_invitational_large_numbers_calculator","status":"publish","type":"post","link":"https:\/\/www.shuizilong.com\/wjmzbmr\/?p=375","title":{"rendered":"[LLH\u9080\u8bf7\u8d5b]\u5927\u6570\u8ba1\u7b97\u5668"},"content":{"rendered":"\n<p>[LLH\u9080\u8bf7\u8d5b]\u5927\u6570\u8ba1\u7b97\u5668<\/p>\n<p>Time Limit:10000MS&#160; Memory Limit:165536K<br \/>Total Submit:15 Accepted:4 <br \/>Case Time Limit:1000MS<\/p>\n<p><strong>Description <\/strong><\/p>\n<p> TBL\u8bd5\u56fe\u7528\u8ba1\u7b97\u5668\u6c42C(N,M)\uff0c\u53ef\u662f\u5931\u8d25\u4e86\u3002\u8fd8\u662f\u4f60\u6765\u5e2e\u4ed6\u7f16\u5199\u4e00\u4e2a\u5927\u6570\u8ba1\u7b97\u5668\u5427\u3002 \u56e0\u4e3a\u7b54\u6848\u53ef\u80fd\u5f88\u5927 <br \/>TBL\u770b\u4e86\u4f1a\u6655\uff0c\u6240\u4ee5\u5982\u679c\u7b54\u6848\u8d85\u8fc712\u4f4d\uff0c\u5c31\u4ee5\u201cXXX\u2026XXXXXXXXX\u201d\u7684\u683c\u5f0f\u8f93\u51fa\u3002 <\/p>\n<p><strong>Input <\/strong><\/p>\n<p>  \u4e24\u4e2a\u975e\u8d1f\u6574\u6570N\u3001M\u3002<\/p>\n<p><strong>Output <\/strong><\/p>\n<p> \u4e00\u4e2a\u6574\u6570\u8868\u793aC(N,M)\u3002\uff08\u53ef\u80fd\u5305\u542b\u201c\u2026\u201d\uff09<\/p>\n<p><strong>Sample Input <\/strong><\/p>\n<p>10%\u7684\u5206\u6570\uff0c\u7b54\u6848\u4e0d\u8d85\u8fc7int64\u3002<br \/>30%\u7684\u5206\u6570\uff0cN&lt;=1,000\u3002<br \/>50%\u7684\u5206\u6570\uff0cN&lt;=30,000\u3002<br \/>100%\u7684\u5206\u6570\uff0cN&lt;=1,000,000\uff0c0&lt;=M&lt;=N\u3002<\/p>\n<p><strong>Sample Output <\/strong><\/p>\n<p>\u8f93\u5165\u6837\u4f8b1<br \/>10 5<br \/>\u8f93\u5165\u6837\u4f8b2 <br \/>100 50<\/p>\n<p><strong>Hint <\/strong><\/p>\n<p> \u8f93\u51fa\u6837\u4f8b1 <br \/>252  <br \/>\u8f93\u51fa\u6837\u4f8b2 <br \/>100&#8230;812497256<\/p>\n<p><strong>Source<br \/>\u9996\u5148\u7528\u7d20\u6570\u5206\u89e3\u628a\u9664\u6cd5\u7ed9\u6d88\u6389\u3002\u3002\u7136\u540e\u672b\u51e0\u4f4d\u6ca1\u795e\u9a6c\u538b\u529b\u3002\u3002<br \/>\u5173\u952e\u662f\u524d\u51e0\u4f4d\u3002\u3002\u6211\u7684\u529e\u6cd5\u662f\u53ea\u4fdd\u5b58\u524d100\u4f4d\u3002\u3002\u7136\u540e\u66b4\u529b\u7b97\u3002\u3002\u3002<br \/>\u5c45\u7136\u53ef\u4ee5 AC\u56e7\u3002\u3002\u3002<br \/> <\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[LLH\u9080\u8bf7\u8d5b]\u5927\u6570\u8ba1\u7b97\u5668 Time Limit:10000MS&#160; Memory Limit:165536KTotal Submit:15 Accepted:4 Case Time Limit:1000MS Description TBL\u8bd5\u56fe\u7528\u8ba1\u7b97\u5668\u6c42C(N,M)\uff0c\u53ef\u662f\u5931\u8d25\u4e86\u3002\u8fd8\u662f\u4f60\u6765\u5e2e\u4ed6\u7f16\u5199\u4e00\u4e2a\u5927\u6570\u8ba1\u7b97\u5668\u5427\u3002 \u56e0\u4e3a\u7b54\u6848\u53ef\u80fd\u5f88\u5927 TBL\u770b\u4e86\u4f1a\u6655\uff0c\u6240\u4ee5\u5982\u679c\u7b54\u6848\u8d85\u8fc712\u4f4d\uff0c\u5c31\u4ee5\u201cXXX\u2026XXXXXXXXX\u201d\u7684\u683c\u5f0f\u8f93\u51fa\u3002 Input \u4e24\u4e2a\u975e\u8d1f\u6574\u6570N\u3001M\u3002 Output \u4e00\u4e2a\u6574\u6570\u8868\u793aC(N,M)\u3002\uff08\u53ef\u80fd\u5305\u542b\u201c\u2026\u201d\uff09 Sample Input 10%\u7684\u5206\u6570\uff0c\u7b54\u6848\u4e0d\u8d85\u8fc7int64\u300230%\u7684\u5206\u6570\uff0cN&lt;=1,000\u300250%\u7684\u5206\u6570\uff0cN&lt;=30,000\u3002100%\u7684\u5206\u6570\uff0cN&lt;=1,000,000\uff0c0&lt;=M&lt;=N\u3002 Sample Output \u8f93\u5165\u6837\u4f8b110 5\u8f93\u5165\u6837\u4f8b2 100 50 Hint \u8f93\u51fa\u6837\u4f8b1 252 \u8f93\u51fa\u6837\u4f8b2 100&#8230;812497256 Source\u9996\u5148\u7528\u7d20\u6570\u5206\u89e3\u628a\u9664\u6cd5\u7ed9\u6d88\u6389\u3002\u3002\u7136\u540e\u672b\u51e0\u4f4d\u6ca1\u795e\u9a6c\u538b\u529b\u3002\u3002\u5173\u952e\u662f\u524d\u51e0\u4f4d\u3002\u3002\u6211\u7684\u529e\u6cd5\u662f\u53ea\u4fdd\u5b58\u524d100\u4f4d\u3002\u3002\u7136\u540e\u66b4\u529b\u7b97\u3002\u3002\u3002\u5c45\u7136\u53ef\u4ee5 AC\u56e7\u3002\u3002\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=\/wp\/v2\/posts\/375"}],"collection":[{"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":0,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}