{"id":4810,"date":"2023-07-16T01:46:52","date_gmt":"2023-07-15T16:46:52","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=4810"},"modified":"2023-07-16T01:46:53","modified_gmt":"2023-07-15T16:46:53","slug":"2023-7-15","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2023-7-15\/","title":{"rendered":"2023\/7\/15(\u571f)"},"content":{"rendered":"\n<p>\u3053\u3053\u6570\u65e5\u82e6\u3057\u3081\u3089\u308c\u3066\u3044\u305f\u30bf\u30b9\u30af\u304c\u7d42\u308f\u3063\u305f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u8fd1\u6240\u3067\u796d\u308a\u3092\u3084\u3063\u3066\u3044\u305f\u306e\u3067\u5168\u529b\u3067\u697d\u3057\u3093\u3067\u304d\u305f\u3002\u3082\u306e\u3059\u3054\u3044\u4eba\u306e\u7fa4\u308c\u3060\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u5b50\u3069\u3082\u306e\u9803\u3001\u3068\u3044\u3046\u304b\u3060\u3044\u3076\u6700\u8fd1\u307e\u3067\u3001\u796d\u308a\u306e\u5c4b\u53f0\u306a\u3093\u304b\u306b\u884c\u3063\u3066\u3082\u5fc3\u884c\u304f\u307e\u3067\u6563\u8ca1\u3059\u308b\u3088\u3046\u306a\u3053\u3068\u306f\u51fa\u6765\u306a\u304b\u3063\u305f\u3002\u5c0f\u9063\u3044\u3067\u306f\u9650\u5ea6\u304c\u3042\u308b\u3002\u4eca\u306f\u30d0\u30a4\u30c8\u3092\u3057\u3066\u3044\u308b\u304b\u3089\u6c17\u517c\u306d\u306a\u304f\u597d\u304d\u306a\u3082\u306e\u3092\u8cb7\u3048\u308b\u3002\u5927\u5b66\u751f\u306e\u30d0\u30a4\u30c8\u4ee3\u306e\u98db\u3070\u3057\u65b9\u3068\u3057\u3066\u306f\u5065\u5168\u306a\u3082\u3093\u3060\u308d\u3046\u3002<\/p>\n\n\n\n<p>\u306a\u3093\u3068\u3044\u3046\u304b\u3001\u305d\u3093\u306a\u5b50\u4f9b\u3058\u307f\u305f\u6b32\u6c42\u4e0d\u6e80\u304c\u81ea\u5206\u306e\u4e2d\u306b\u3068\u3050\u308d\u3092\u5dfb\u3044\u3066\u3044\u305f\u3053\u3068\u306b\u81ea\u5206\u3067\u9a5a\u3044\u305f\u3002<\/p>\n\n\n\n<p>\u30b1\u30d0\u30d6\u3084\u304b\u304d\u6c37\u306a\u3069\u3092\u8cb7\u3063\u305f\u307b\u304b\u3001\u5c4b\u53f0\u3067\u58f2\u3063\u3066\u3044\u305f\u5de5\u82b8\u54c1\u306e\u56e3\u6247\u306b\u4e00\u76ee\u307c\u308c\u3057\u30662\u672c\u3082\u8cb7\u3063\u3066\u3057\u307e\u3063\u305f\u3002\u4e00\u4eba\u3067\u884c\u3063\u305f\u304c\u3001\u3068\u3066\u3082\u697d\u3057\u304b\u3063\u305f\u3002\u8907\u6570\u4eba\u3067\u540c\u3058\u6642\u9593\u3092\u5171\u6709\u3059\u308b\u306e\u3082\u826f\u3044\u304c\u3001\u6c17\u517c\u306d\u3059\u308b\u3053\u3068\u306a\u304f\u3069\u3053\u306b\u3067\u3082\u6b69\u3051\u308b\u306e\u306f\u3068\u3066\u3082\u697d\u3060\u3002<\/p>\n\n\n\n<p>\u796d\u308a\u306e\u5c4b\u53f0\u3068\u3044\u3046\u306e\u306f\u826f\u3044\u3002\u4e00\u4eba\u3067\u6765\u3066\u3044\u3066\u3082\u3001\u4f55\u306e\u796d\u308a\u304b\u3088\u304f\u77e5\u3089\u306a\u304f\u3066\u3082\u3001\u304a\u91d1\u3092\u6301\u3063\u3066\u3055\u3048\u3044\u308c\u3070\u796d\u308a\u306e\u7a7a\u6c17\u306b\u63a5\u7d9a\u3067\u304d\u308b\u3002\u958b\u304b\u308c\u305f\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3060\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>ABC310\u306b\u51fa\u305f\u3002<\/p>\n\n\n\n<p>A: min(P, min(D) + Q)<\/p>\n\n\n\n<p>B: \u554f\u984c\u6587\u901a\u308a\u306b\u5b9f\u88c5\u3059\u308b<\/p>\n\n\n\n<p>C: Si\u3068\u9006\u9806\u306b\u3057\u305fSi\u306e\u3046\u3061\u8f9e\u66f8\u9806\u3067\u5c0f\u3055\u3044\u65b9\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u306b\u3059\u308c\u3070\u3088\u3044\u3002\u3042\u3068\u306fset\u306b\u5165\u308c\u3066\u884c\u3051\u3070\u3088\u304f\u3001\u8a08\u7b97\u6642\u9593\u306f(\u3061\u3083\u3093\u3068\u8a3c\u660e\u3057\u305f\u308f\u3051\u3067\u306f\u306a\u3044\u304c\u305f\u3076\u3093)S\u306e\u9577\u3055\u306e\u7dcf\u548c\u3067\u62bc\u3055\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p>D: DFS\u3057\u305f\u3002\u307e\u3060\u6c7a\u307e\u3063\u3066\u306a\u3044\u4eba\u9593\u306e\u96c6\u5408\u306e\u4e2d\u304b\u3089\u3001\u4e00\u756a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u5c0f\u3055\u3044\u4eba\u9593\u3092\u542b\u3080\u5f62\u3067\u90e8\u5206\u96c6\u5408\u3092\u53d6\u3063\u3066\u6b21\u306e\u30c1\u30fc\u30e0\u306e\u30e1\u30f3\u30d0\u30fc\u3068\u3059\u308b\u3002\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u306e\u4e2d\u3067\u76f8\u6027\u306e\u60aa\u3044\u7d44\u307f\u5408\u308f\u305b\u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3070\u6b8b\u308a\u306e\u4eba\u9593\u3067\u540c\u3058\u3053\u3068\u3092\u3084\u308b\u3002<\/p>\n\n\n\n<p>\u8a08\u7b97\u91cf\u306e\u898b\u7a4d\u3082\u308a\u304c\u9762\u5012\u3060\u3063\u305f\u306e\u3067\u3048\u3044\u3084\u3067\u6295\u3052\u305f\u3089\u901a\u3063\u305f\u3002<\/p>\n\n\n\n<p>E: $f(i, j)=A_i \\bar{\\land} A_{i+1} \\bar{\\land} &#8230; \\bar{\\land} A_j$\u3068\u3059\u308b\u3002$f(i,j)$\u3092\u4e8c\u6b21\u5143\u306e\u30de\u30b9\u76ee\u4e0a\u306b\u30d7\u30ed\u30c3\u30c8\u3057\u305f\u3068\u3057\u3066\u3001\u3042\u308b\u5217\u306b\u3042\u308b0\u30681\u306e\u6570\u304c\u5206\u304b\u308c\u3070\u305d\u306e\u53f3\u96a3\u306e0\u30681\u306e\u6570\u3082\u7c21\u5358\u306b\u8a08\u7b97\u3067\u304d\u308b\u3002\u3053\u308c\u3092\u4f7f\u3048\u3070$\\sum_{1\\leq i \\leq j \\leq k} f(i,j)$\u3092k=1,&#8230;,N\u306b\u3064\u3044\u3066\u9806\u3005\u306b\u8a08\u7b97\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p>F: \u9069\u5207\u306b\u30b5\u30a4\u30b3\u30ed\u3092\u9078\u3076\u3053\u3068\u306b\u3088\u3063\u3066\u51fa\u76ee\u306e\u548c\u3068\u3057\u3066\u300c0\u3092\u4f5c\u308c\u308b\u300d\u300c1\u3092\u4f5c\u308c\u308b\u300d&#8230;\u300c10\u3092\u4f5c\u308c\u308b\u300d\u306e\u305d\u308c\u305e\u308c\u306e\u72b6\u614b\u3092\u6301\u3063\u3066\u9077\u79fb\u3057\u3066\u3044\u3051\u3070\u3088\u3044\u3002\u3053\u308c\u306f\u30d3\u30c3\u30c8\u30d1\u30bf\u30f3\u3068\u3057\u3066\u8868\u73fe\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p>dp[i][j]:=(i\u756a\u76ee\u307e\u3067\u306e\u30b5\u30a4\u30b3\u30ed\u3092\u632f\u3063\u305f\u3068\u304d\u3001\u5404\u6570\u5024\u306e\u5b9f\u73fe\u53ef\u80fd\u6027\u304c\u30d3\u30c3\u30c8\u30d1\u30bf\u30f3j\u3068\u3057\u3066\u8868\u73fe\u3067\u304d\u308b\u3088\u3046\u306a\u51fa\u76ee\u306e\u7d44\u307f\u5408\u308f\u305b\u306e\u30d1\u30bf\u30fc\u30f3\u6570)\u3068\u3057\u3066\u8a08\u7b97\u3057\u305f\u3002\u30b5\u30a4\u30b3\u30edi\u3092\u632f\u3063\u3066\u51fa\u76ee\u3068\u3057\u3066x\u304c\u51fa\u305f\u3068\u304d\u3001\u305d\u306e\u30b5\u30a4\u30b3\u30ed\u3092\u9078\u3076\u3053\u3068\u3082\u9078\u3070\u306a\u3044\u3053\u3068\u3082\u3067\u304d\u308b\u3053\u3068\u304b\u3089(j | (j &lt;&lt; x)) &amp; (2^11 &#8211; 1)\u306b\u9077\u79fb\u3059\u308c\u3070\u3088\u3044\u3002\u3053\u308c\u3092$1\\leq x \\leq A_i$\u307e\u3067\u306e\u5168\u3066\u306e\u51fa\u76ee\u306b\u3064\u3044\u3066\u8a08\u7b97\u3059\u308b\u3068\u8a08\u7b97\u91cf\u304c$\\sum A$\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u304c\u3001x>10\u306b\u3064\u3044\u3066\u306f\u5168\u3066j\u306b\u306a\u308b\u306e\u3067\u307e\u3068\u3081\u3066\u8a08\u7b97\u3057\u3066\u3057\u307e\u3048\u308b\u3002<\/p>\n\n\n\n<p>\u51fa\u76ee\u306e\u548c\u3068\u3057\u3066\u72d9\u3046\u6570\u5b57(\u4eca\u56de\u306f10)\u3092S\u3068\u3057\u3066\u304a\u304f\u3068\u8a08\u7b97\u91cf\u306f$O(N2^SS)$\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p>G: \u89e3\u3051\u305a\u3002\u306a\u3082\u308a\u30b0\u30e9\u30d5\u306a\u3053\u3068\u306f\u5206\u304b\u3063\u305f\u304c\u3001\u3042\u308b\u56de\u6570\u64cd\u4f5c\u3057\u305f\u3068\u304d\u306b\u3042\u308b\u9ad8\u6a4b\u541b\u306b\u6e21\u3055\u308c\u308b\u30dc\u30fc\u30eb\u306e\u6570\u3092\u4e0a\u624b\u304f\u7ba1\u7406\u3057\u3066\u6c42\u3081\u308b\u65b9\u6cd5\u304c\u601d\u3044\u6d6e\u304b\u3070\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u89e3\u8aac\u3060\u3068\u30c0\u30d6\u30ea\u30f3\u30b0\u3057\u3066\u3044\u305f\u3002\u306a\u3082\u308a\u30b0\u30e9\u30d5\u306e\u7279\u6027\u3092\u4f7f\u3046\u89e3\u6cd5\u3082\u3084\u306f\u308a\u3042\u308b\u3089\u3057\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3053\u6570\u65e5\u82e6\u3057\u3081\u3089\u308c\u3066\u3044\u305f\u30bf\u30b9\u30af\u304c\u7d42\u308f\u3063\u305f\u3002 \u8fd1\u6240\u3067\u796d\u308a\u3092\u3084\u3063\u3066\u3044\u305f\u306e\u3067\u5168\u529b\u3067\u697d\u3057\u3093\u3067\u304d\u305f\u3002\u3082\u306e\u3059\u3054\u3044\u4eba\u306e\u7fa4\u308c\u3060\u3063\u305f\u3002 \u5b50\u3069\u3082\u306e\u9803\u3001\u3068\u3044\u3046\u304b\u3060\u3044\u3076\u6700\u8fd1\u307e\u3067\u3001\u796d\u308a\u306e\u5c4b\u53f0\u306a\u3093\u304b\u306b\u884c\u3063\u3066\u3082\u5fc3\u884c\u304f\u307e\u3067\u6563\u8ca1\u3059\u308b\u3088\u3046\u306a\u3053\u3068\u306f\u51fa\u6765\u306a\u304b\u3063 &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2023-7-15\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2023\/7\/15(\u571f)&#8221;<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4810","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/4810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/comments?post=4810"}],"version-history":[{"count":7,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/4810\/revisions"}],"predecessor-version":[{"id":4817,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/4810\/revisions\/4817"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=4810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=4810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=4810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}