{"id":7749,"date":"2024-07-07T20:01:01","date_gmt":"2024-07-07T12:01:01","guid":{"rendered":""},"modified":"2024-07-07T20:01:01","modified_gmt":"2024-07-07T12:01:01","slug":"\u706b\u8f66\u51fa\u6808\u95ee\u9898_\u6c42\u6240\u6709\u53ef\u80fd\u7684\u51fa\u6808\u987a\u5e8f","status":"publish","type":"post","link":"https:\/\/mushiming.com\/7749.html","title":{"rendered":"\u706b\u8f66\u51fa\u6808\u95ee\u9898_\u6c42\u6240\u6709\u53ef\u80fd\u7684\u51fa\u6808\u987a\u5e8f"},"content":{"rendered":"
4 3<\/span><\/pre>\n\u6837\u4f8b\u8f93\u51fa<\/h3>\n14 <\/span><\/pre>\n5<\/span><\/p>\n\u63d0\u793a<\/h3>\n\n<\/div>\n\u76f4\u63a5\u5229\u7528\u516c\u5f0f\uff1a(2*n)! \/ (n! * n! *(n + 1)) \uff08\u5176\u4e2dn>=1\uff09<\/span><\/span><\/p>\n\u53ef\u4ee5\u9002\u5f53\u505a\u70b9\u4f18\u5316\uff0c\u9632\u6b62\u6ea2\u51fa<\/span><\/span><\/p>\n(2*n)!\u548cn!\u53ef\u4ee5\u5316\u7b80<\/span><\/span><\/p>\n#include <iostream> using namespace std; typedef long long ll; int main() { int n; while(cin>>n) { ll ans=1; for(int i=1;i<=n;i++) ans=ans*(n+i)\/i; cout<<ans\/(n+1)<<endl; } return 0; } <\/code><\/pre>\n<\/p>\n","protected":false},"excerpt":{"rendered":"\u706b\u8f66\u51fa\u6808\u95ee\u9898_\u6c42\u6240\u6709\u53ef\u80fd\u7684\u51fa\u6808\u987a\u5e8f\u9898\u76ee\u63cf\u8ff0\u94c1\u8def\u8fdb\u884c\u5217\u8f66\u8c03\u5ea6\u65f6\uff0c\u5e38\u628a\u7ad9\u53f0\u8bbe\u8ba1\u6210\u6808\u5f0f\u7ed3\u6784\u7684\u7ad9\u53f0\uff0c\u8bd5\u95ee\uff1a\u8bbe\u6709\u7f16\u53f7\u4e3a1\u5230n\u7684n\u8f86...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/7749"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=7749"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/7749\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=7749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=7749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=7749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}