{"categories":["arc","\u5168\u63a2\u7d22"],"image_url":null,"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":"ARC 061 C - \u305f\u304f\u3055\u3093\u306e\u6570\u5f0f / Many Formulas","published":"2016-09-12 21:36:43","description":"\u554f\u984c \u554f\u984c\u6982\u8981 \u7701\u7565\u3002 \u89e3\u6cd5 bit\u5168\u63a2\u7d22\u3002s\u306e\u9577\u3055\u304cn\u306e\u3068\u304d\u3001n-1\u500b\u306e\u5834\u6240\u306b+\u3092\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001+\u3092\u5165\u308c\u308b\u5834\u6240\u30922n-1\u901a\u308a\u5168\u90e8\u8a66\u305b\u3070\u3044\u3044\u3002\u5b9f\u88c5\u65b9\u6cd5\u306f\u3001bit\u3092\u4f7f\u3044\u30011\u3067\u3042\u308c\u3070\u305d\u306e\u90e8\u5206\u306b+\u3092\u5165\u308c\u3066\u30010\u3067\u3042\u308c\u3070\u305d\u306e\u90e8\u5206\u306b+\u3092\u5165\u308c\u306a\u3044\u3002\u4f8b\u3048\u3070\u3001s=125\u306e\u5834\u5408\u3001 mask= 00(0)~11(2)\u3092\u8a66\u305b\u3070\u3044\u3044\u3002 00(0) : 125 01(1) : 12 + 5 10(2) : 1 + 25 11(3) : 1 + 2 + 5 \u30df\u30b9 \u306a\u3057 \u30b3\u30fc\u30c9 #include <iostream> #include <string> #include <cstdio> using namespa\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F09%2F12%2F213643\" title=\"ARC 061 C - \u305f\u304f\u3055\u3093\u306e\u6570\u5f0f / Many Formulas - srup\u306e\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/mmxsrup/","height":"190","blog_title":"srup\u306e\u30e1\u30e2\u5e33","url":"https://mmxsrup.hatenablog.com/entry/2016/09/12/213643","author_name":"mmxsrup","blog_url":"https://mmxsrup.hatenablog.com/","type":"rich"}