{"id":450,"date":"2011-01-08T19:56:00","date_gmt":"2011-01-08T11:56:00","guid":{"rendered":"http:\/\/localhost\/?p=450"},"modified":"2011-01-08T19:56:00","modified_gmt":"2011-01-08T11:56:00","slug":"srm_460_div_i__a_mathematical_method","status":"publish","type":"post","link":"https:\/\/www.shuizilong.com\/wjmzbmr\/?p=450","title":{"rendered":"SRM 460 Div I&#8230;\u4e00\u79cd\u6570\u5b66\u65b9\u6cd5"},"content":{"rendered":"\n<\/p>\n<p>\u3002\u3002\u3002\u8fd9\u4e2a\u9898\u76ee\u7684\u5b98\u65b9\u9898\u89e3\u8fd8\u662f\u5f88\u9738\u6c14\u7684\u3002\u3002\u3002\u590d\u6742\u7684\u52a8\u6001\u89c4\u5212\u3002\u3002\u3002<\/p>\n<p>\u4f46\u5176\u5b9e\u4e5f\u662f\u6709\u6bd4\u8f83\u7b80\u5355\u7684\u6570\u5b66\u65b9\u6cd5\u3002\u3002\u3002<\/p>\n<p>\u9898\u76ee\uff1ahttp:\/\/www.topcoder.com\/stat?c=problem_statement&amp;pm=10773&amp;rd=14146<\/p>\n<p>\u9898\u76ee\u7b80\u8ff0\uff1a\u7ed9\u4e00\u4e2a\u56fe\uff0c\u91cc\u9762\u6bcf\u5bf9\u70b9\u4e4b\u95f4\u6700\u591a\u6709\u4e24\u6761\u7b80\u5355\u8def\u5f84\uff08\u53ef\u4ee5\u6ca1\u6709\uff09\u3002\u3002<\/p>\n<p>\u8ba9\u4f60\u52a0\u5165\u4e00\u4e9b\u8fb9\u3002\u3002\u4f7f\u5f97\u6bcf\u5bf9\u70b9\u4e4b\u95f4\u90fd\u67091\u6216\u4e24\u6761\u7b80\u5355\u8def\u5f84\u3002\u3002\u3002<\/p>\n<p>\u6c42\u52a0\u5165\u8fb9\u7684\u65b9\u6cd5\u6570\uff08\u987a\u5e8f\u65e0\u89c6\uff09\u3002\u3002\u3002<\/p>\n<p>\u9996\u5148\u3002\u3002\u53ef\u4ee5\u53d1\u73b0\u7ed3\u679c\u7684\u56fe\u6700\u591a\u53ea\u6709\u4e00\u4e2a\u73af\u3002\u3002\u3002<\/p>\n<p>\u8003\u8651\u7ed3\u679c\u65e0\u73af\u7684\u60c5\u51b5\u3002\u3002\u4e5f\u5c31\u662f\u5f53\u524d\u5c31\u6ca1\u6709\u73af\u3002\u3002<\/p>\n<p>\u7136\u540e\u8003\u8651\u76ee\u524d\u7684\u8054\u901a\u5206\u91cf..\u8bbe\u5927\u5c0f\u4e3av1,v2,v3\u3002\u3002\u3002\u3002vM\u3002\u3002\u3002<\/p>\n<p>\u90a3\u4e48\u628a\u8054\u901a\u5206\u91cf\u770b\u6210\u4e00\u4e2a\u70b9\u3002\u3002\u8003\u8651\u8fd9M\u4e2a\u70b9\u4e4b\u95f4\u6240\u6709\u7684\u751f\u6210\u6811\u3002\u3002<\/p>\n<p>\u8003\u8651\u4e00\u4e2a\u7279\u5b9a\u7684\u751f\u6210\u6811\u3002\u3002<\/p>\n<p>\u8bbevi\u7684\u5ea6\u6570\u4e3adi\u3002\u3002\u90a3\u4e48\u8fd9\u4e2a\u60c5\u51b5\u5bf9\u7ed3\u679c\u7684\u8d21\u732e\u5c31\u662f\u6240\u6709vi^di\u7684\u79ef\u3002\u3002<\/p>\n<p>\u6839\u636eprufer-code\u3002\u3002\u8fd9\u6837\u7684\u53ef\u80fd\u6027\u7684\u4e2a\u6570\u662fC(M-2,d1-1,d2-1,d3-1&#8230;dM-1)\u3002\u3002<\/p>\n<p>C(N,a1.aM)\u8868\u793a\u628aN\u4e2a\u6570\u67d3\u6210M\u79cd\u989c\u8272\uff0c\u7b2ci\u79cd\u989c\u8272\u6709ai\u4e2a\u7684\u60c5\u51b5\u6570\u3002\u3002\u3002<\/p>\n<p>\u628a\u6240\u6709\u7ed3\u679c\u90fd+\u8d77\u6765\u3002\u3002<\/p>\n<p>\u90a3\u4e48\u7b54\u6848\u5c31\u662f\u3002\u3002<\/p>\n<p>Mult(v1..vM)*Sum(v1..vM)^n-2<br \/>Mult\u8868\u793a\u62ec\u53f7\u5185\u6240\u6709\u6570\u7684\u548c\u3002\u3002\u3002<\/p>\n<p>\u3002\u3002\u3002\u7136\u540e\u8003\u8651\u6709\u73af\u7684\u60c5\u51b5\u3002\u3002<\/p>\n<p>\u6709\u4e24\u79cd\u3002\u3002\u4e00\u79cd\u662f\u73af\u5728\u4e00\u4e2a\u8054\u901a\u5206\u91cf\u5185\u90e8\u3002\u3002\u8fd9\u5f88\u597d\u89e3\u51b3\u3002\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u79cd\u662f\u73af\u5728\u8054\u901a\u5206\u91cf\u4e4b\u95f4\u3002\u3002<\/p>\n<p>\u90a3\u4e48\u679a\u4e3e\u73af\u4e0a\u7684\u5143\u7d20\u662f\u54ea\u4e9b\u3002\u3002\u628a\u8fd9\u4e9b\u5143\u7d20\u770b\u6210\u4e00\u4e2a\u5927\u7684\u8282\u70b9\u5c31\u53ef\u4ee5\u4e86\u3002\u3002\u3002<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3002\u3002\u3002\u8fd9\u4e2a\u9898\u76ee\u7684\u5b98\u65b9\u9898\u89e3\u8fd8\u662f\u5f88\u9738\u6c14\u7684\u3002\u3002\u3002\u590d\u6742\u7684\u52a8\u6001\u89c4\u5212\u3002\u3002\u3002 \u4f46\u5176\u5b9e\u4e5f\u662f\u6709\u6bd4\u8f83\u7b80\u5355\u7684\u6570\u5b66\u65b9\u6cd5\u3002\u3002\u3002 \u9898\u76ee\uff1ahttp:\/\/www.topcoder.com\/stat?c=problem_statement&amp;pm=10773&amp;rd=14146 \u9898\u76ee\u7b80\u8ff0\uff1a\u7ed9\u4e00\u4e2a\u56fe\uff0c\u91cc\u9762\u6bcf\u5bf9\u70b9\u4e4b\u95f4\u6700\u591a\u6709\u4e24\u6761\u7b80\u5355\u8def\u5f84\uff08\u53ef\u4ee5\u6ca1\u6709\uff09\u3002\u3002 \u8ba9\u4f60\u52a0\u5165\u4e00\u4e9b\u8fb9\u3002\u3002\u4f7f\u5f97\u6bcf\u5bf9\u70b9\u4e4b\u95f4\u90fd\u67091\u6216\u4e24\u6761\u7b80\u5355\u8def\u5f84\u3002\u3002\u3002 \u6c42\u52a0\u5165\u8fb9\u7684\u65b9\u6cd5\u6570\uff08\u987a\u5e8f\u65e0\u89c6\uff09\u3002\u3002\u3002 \u9996\u5148\u3002\u3002\u53ef\u4ee5\u53d1\u73b0\u7ed3\u679c\u7684\u56fe\u6700\u591a\u53ea\u6709\u4e00\u4e2a\u73af\u3002\u3002\u3002 \u8003\u8651\u7ed3\u679c\u65e0\u73af\u7684\u60c5\u51b5\u3002\u3002\u4e5f\u5c31\u662f\u5f53\u524d\u5c31\u6ca1\u6709\u73af\u3002\u3002 \u7136\u540e\u8003\u8651\u76ee\u524d\u7684\u8054\u901a\u5206\u91cf..\u8bbe\u5927\u5c0f\u4e3av1,v2,v3\u3002\u3002\u3002\u3002vM\u3002\u3002\u3002 \u90a3\u4e48\u628a\u8054\u901a\u5206\u91cf\u770b\u6210\u4e00\u4e2a\u70b9\u3002\u3002\u8003\u8651\u8fd9M\u4e2a\u70b9\u4e4b\u95f4\u6240\u6709\u7684\u751f\u6210\u6811\u3002\u3002 \u8003\u8651\u4e00\u4e2a\u7279\u5b9a\u7684\u751f\u6210\u6811\u3002\u3002 \u8bbevi\u7684\u5ea6\u6570\u4e3adi\u3002\u3002\u90a3\u4e48\u8fd9\u4e2a\u60c5\u51b5\u5bf9\u7ed3\u679c\u7684\u8d21\u732e\u5c31\u662f\u6240\u6709vi^di\u7684\u79ef\u3002\u3002 \u6839\u636eprufer-code\u3002\u3002\u8fd9\u6837\u7684\u53ef\u80fd\u6027\u7684\u4e2a\u6570\u662fC(M-2,d1-1,d2-1,d3-1&#8230;dM-1)\u3002\u3002 C(N,a1.aM)\u8868\u793a\u628aN\u4e2a\u6570\u67d3\u6210M\u79cd\u989c\u8272\uff0c\u7b2ci\u79cd\u989c\u8272\u6709ai\u4e2a\u7684\u60c5\u51b5\u6570\u3002\u3002\u3002 \u628a\u6240\u6709\u7ed3\u679c\u90fd+\u8d77\u6765\u3002\u3002 \u90a3\u4e48\u7b54\u6848\u5c31\u662f\u3002\u3002 Mult(v1..vM)*Sum(v1..vM)^n-2Mult\u8868\u793a\u62ec\u53f7\u5185\u6240\u6709\u6570\u7684\u548c\u3002\u3002\u3002 \u3002\u3002\u3002\u7136\u540e\u8003\u8651\u6709\u73af\u7684\u60c5\u51b5\u3002\u3002 \u6709\u4e24\u79cd\u3002\u3002\u4e00\u79cd\u662f\u73af\u5728\u4e00\u4e2a\u8054\u901a\u5206\u91cf\u5185\u90e8\u3002\u3002\u8fd9\u5f88\u597d\u89e3\u51b3\u3002\u3002 \u8fd8\u6709\u4e00\u79cd\u662f\u73af\u5728\u8054\u901a\u5206\u91cf\u4e4b\u95f4\u3002\u3002 \u90a3\u4e48\u679a\u4e3e\u73af\u4e0a\u7684\u5143\u7d20\u662f\u54ea\u4e9b\u3002\u3002\u628a\u8fd9\u4e9b\u5143\u7d20\u770b\u6210\u4e00\u4e2a\u5927\u7684\u8282\u70b9\u5c31\u53ef\u4ee5\u4e86\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\/450"}],"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=450"}],"version-history":[{"count":0,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=\/wp\/v2\/posts\/450\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shuizilong.com\/wjmzbmr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}