{"title":"\u7591\u554f\u96c6","blog_url":"https://morokoshi-inu.hatenablog.com/","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/morokoshi_inu/20240413/20240413112114.png","provider_name":"Hatena Blog","author_name":"morokoshi_inu","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorokoshi-inu.hatenablog.com%2Fentry%2F2024%2F04%2F13%2F112144\" title=\"\u7591\u554f\u96c6 - morokoshi_inu\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"# for\u6587\u306f\u6539\u884c\u3057\u306a\u304f\u3066\u3082\u3044\u3044\u306e\u304b\uff1f \u4f55\u6545\u3053\u308c\u304c\u52d5\u304f\uff1f # \u78ba\u7387\u306e\u554f\u984c nCr / nCr \u3067\u3082\u78ba\u7387\u51fa\u305b\u308b\u3051\u3069\u3001nPr /nPr\u3067\u3082\u540c\u69d8\u306b\u51fa\u3057\u3066\u3088\u304b\u3063\u305f\u306f\u305a\uff1f \u672c\u5f53\u306b\u3088\u304b\u3063\u305f\u306e\u304b\u6574\u7406\u3059\u308b algo-method.com # input()\u306e\u51e6\u7406\u306f\u305d\u308c\u3060\u3051\u3092\u307e\u3068\u3081\u3066\u884c\u3063\u305f\u65b9\u304c\u901f\u3044\uff1f algo-method.com \u3053\u308c\u3060\u3068TLE # \u307e\u3060TLE\u306a\u7b87\u6240\u304c\u3042\u308b # \u5148\u306b\u3001P\u3054\u3068\u306b\u3001\u6e80\u305f\u3059\u6574\u6570x,y\u306e\u304f\u307f\u304c\u4f55\u500b\u3042\u308b\u304b\u6570\u3048\u3066\u304a\u304f num_couples_to_make_p = [0 for _ in range(10001)] for x in range(-100,101): for y in ra\u2026","url":"https://morokoshi-inu.hatenablog.com/entry/2024/04/13/112144","published":"2024-04-13 11:21:44","author_url":"https://blog.hatena.ne.jp/morokoshi_inu/","height":"190","categories":[],"blog_title":"morokoshi_inu\u2019s blog","version":"1.0"}