{"id":2575,"date":"2022-04-15T02:05:01","date_gmt":"2022-04-14T17:05:01","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=2575"},"modified":"2022-04-15T09:59:22","modified_gmt":"2022-04-15T00:59:22","slug":"2022-4-14%e6%9c%a8","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2022-4-14%e6%9c%a8\/","title":{"rendered":"2022\/4\/14(\u6728)"},"content":{"rendered":"\n<p>\u3053\u306e\u9593DDD\u306b\u3064\u3044\u3066\u52c9\u5f37\u3057\u305f\u6642\u306b\u77e5\u3063\u305f\u300c\u30c9\u30e1\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u9006\u8ee2\u300d\u3092\u5b9f\u8df5\u3057\u3066\u307f\u305f\u3002\u304b\u306a\u308a\u3057\u3063\u304f\u308a\u304f\u308b\u3002\u8a2d\u8a08\u306b\u95a2\u3057\u3066\u4f55\u304b\u304c\u3057\u3063\u304f\u308a\u304f\u308b\u3001\u3068\u3044\u3046\u7d4c\u9a13\u306f\u521d\u3081\u3066\u3057\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3059\u3054\u3044\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u4eca\u65e5\u89e3\u3044\u305f\u7af6\u30d7\u30ed\u306e\u554f\u984c\u3002<\/p>\n\n\n\n<p>\u7af6\u30d7\u30ed\u5178\u578b90\u554f<\/p>\n\n\n\n<p>006 Smallest Subsequence: \u8f9e\u66f8\u9806\u306f\u524d\u306e\u6587\u5b57\u306e\u9806\u5e8f\u304c\u5f8c\u308d\u306e\u3059\u3079\u3066\u306b\u512a\u5148\u3059\u308b\u306e\u3067\u3001\u6587\u5b57\u7a2e\u3067\u30bd\u30fc\u30c8\u3057\u3066\u62fe\u3063\u3066\u3044\u304f\u3002\u305f\u3060\u3057\u51fa\u6765\u308b\u3060\u3051\u5f8c\u308d\u306e\u9078\u629e\u80a2\u306f\u6b8b\u3057\u305f\u3044\u306e\u3067\u3001\u540c\u3058\u6587\u5b57\u7a2e\u306a\u3089\u3070\u51fa\u6765\u308b\u3060\u3051\u5de6\u304b\u3089\u3068\u308b\u3002\u307e\u305f\u3001i\u6587\u5b57\u76ee\u3092\u6c7a\u3081\u308b\u969b\u306b\u5f8c\u308d\u306b\u306fK-i\u6587\u5b57\u4ee5\u4e0a\u6b8b\u3063\u3066\u3044\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u6226\u95d8N-K+i\u6587\u5b57\u306e\u4e2d\u304b\u3089\u306e\u307f\u62fe\u3063\u3066\u3044\u304f\u3002\u3042\u307e\u308a\u3084\u3089\u306a\u3044\u5b9f\u88c5\u3060\u3063\u305f\u306e\u3067\u8003\u5bdf\u304c\u3042\u3063\u3066\u308b\u304b\u82e5\u5e72\u4e0d\u5b89\u3060\u3063\u305f\u304c\u3001\u7121\u4e8b\u4e00\u767aAC\u3057\u305f\u3002<\/p>\n\n\n\n<p>007 CP Classes: \u30bd\u30fc\u30c8\u3057\u3066\u306b\u3076\u305f\u3093\u3059\u308b\u3060\u3051\u3002Bi\u4ee5\u4e0a\u6700\u5c0f\u3068Bi\u4ee5\u4e0b\u6700\u5927\u306e\u4e21\u65b9\u3092\u53d6\u308b\u3068\u3053\u308d\u3060\u3051\u6ce8\u610f\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n\n\n\n<p>008 AtCounter: i\u6587\u5b57\u76ee\u307e\u3067\u898b\u3066j\u6587\u5b57\u76ee\u307e\u3067\u6c7a\u3081\u305f\u72b6\u614b\u306e\u30d1\u30bf\u30fc\u30f3\u6570\u3092\u6301\u3063\u3066DP\u3084\u308b\u3060\u3051\u3002<\/p>\n\n\n\n<p>009 Three Point Angle: ABC033-D\u3067\u898b\u305f\u3002\u5168\u63a2\u7d22\u3059\u308b\u3068\u5f53\u7136$O(N^3)$\u306b\u306a\u308b\u3002\u3042\u308b\u70b9$P_1$\u3092\u4e2d\u5fc3\u3068\u3057\u3066\u4ed6\u306e\u70b9\u3092\u504f\u89d2\u3067\u30bd\u30fc\u30c8\u3057\u3001$P_1$\u4ee5\u5916\u306e\u3042\u308b\u70b9$P_2$\u3092\u53d6\u308a\u51fa\u3057\u3066\u504f\u89d2\u3092\u4e8c\u5206\u63a2\u7d22\u3059\u308c\u3070\u3001$\\angle P_2P_1P_3$\u304c\u826f\u3044\u6761\u4ef6\u3092\u6e80\u305f\u3059\u3088\u3046\u306a\u70b9P3\u3092\u5404$O(\\log N)$\u3067\u63a2\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u5168\u4f53$O(N^2 \\log N)$\u3002\u65b9\u91dd\u306f\u4e00\u77ac\u3067\u898b\u3048\u305f\u304c\u504f\u89d2\u30bd\u30fc\u30c8\u3092\u30e9\u30a4\u30d6\u30e9\u30ea\u5316\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u5b9f\u88c5\u306b\u304b\u306a\u308a\u624b\u9593\u53d6\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u4ed6\u3001\u975e\u672c\u8cea\u3067\u3055\u3089\u306b\u624b\u9593\u53d6\u308b\u3002\u8a08\u7b97\u8aa4\u5dee\u304c\u5acc\u306a\u306e\u3067\u5206\u6570\u306e\u6bd4\u8f03\u306f\u5206\u6bcd\u3092\u6255\u3044\u3001\u5e73\u65b9\u6839\u306f\u4e8c\u4e57\u3059\u308b\u306a\u3069\u3057\u3066\u3044\u305f\u304c\u3001\u305d\u3046\u3059\u308b\u306864bit\u3067\u306f\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3059\u308b\u3001\u4e8c\u4e57\u3057\u305f\u305f\u3081\u306b\u7b26\u53f7\u304c\u72c2\u3046\u306a\u3069\u3057\u305f\u3002std::sort\u306ba&lt;b&amp;&amp;b&lt;a\u304ctrue\u3068\u306a\u308b\u3088\u3046\u306a\u6bd4\u8f03\u95a2\u6570\u3092\u6e21\u3057\u3066\u3057\u307e\u3046\u3068invalid comparator\u4f8b\u5916\u304c\u98db\u3073\u51fa\u3059\u3068\u3044\u3046\u3053\u3068\u3092\u5b66\u3093\u3060\u3002\u307e\u305f\u3001acos(-1)\u304c\u5b9f\u306f\u8aa4\u5dee\u3067acos(-1.000001)\u307f\u305f\u3044\u306b\u306a\u3063\u3066\u3044\u305f\u305f\u3081\u306b\u7bc4\u56f2\u5916\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u308b\u306a\u3069\u3068\u3044\u3063\u305f\u3053\u3068\u3082\u8d77\u3053\u3063\u305f\u3002\u3053\u306e\u8fba\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u5316\u3067\u6b21\u56de\u4ee5\u964d\u304b\u306a\u308a\u5bfe\u51e6\u3067\u304d\u305d\u3046\u306a\u306e\u3067\u3061\u3083\u3093\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u5316\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u516c\u5f0f\u89e3\u8aac\u3060\u3068\u504f\u89d2\u30bd\u30fc\u30c8\u307e\u308f\u308a\u306fatan\u3067\u304b\u306a\u308a\u30b9\u30de\u30fc\u30c8\u306b\u89e3\u6c7a\u3057\u3066\u3044\u305f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u300c2D\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u306e\u4ed5\u7d44\u307f\u300d\u3092\u8aad\u307f\u9032\u3081\u305f\u3002\u30d4\u30af\u30bb\u30eb\u5358\u4f4d\u3067\u5177\u4f53\u7684\u306b\u4f55\u3092\u3084\u308b\u306e\u304b\u3092\u3061\u3083\u3093\u3068\u89e3\u8aac\u3057\u3066\u3044\u3066\u3068\u3066\u3082\u826f\u3044\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u30c0\u30f3\u30b9\u30ac\u30fc\u30c9\u30fb\u30aa\u30b7\u30e5\u30ac\u30fc\u30b5\u30a4\u30af\u30eb\u3068\u3044\u3046\u306e\u3092\u77e5\u3063\u305f\u3002\u6c37\u671f\u30fb\u9593\u6c37\u671f\u3068\u304b\u306f\u77e5\u3063\u3066\u305f\u304c\u66f4\u306b\u77ed\u3044\u306e\u3082\u3042\u308b\u3093\u3060\u306a\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u4eca\u65e5\u6442\u53d6\u3057\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3002<\/p>\n\n\n\n<p>10\u5104\u5186\u8cc7\u7523\u304c\u3067\u304d\u305f\u3068\u304d\u306b\u77e5\u3063\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3044\u3053\u3068<\/p>\n\n\n\n<p><a href=\"https:\/\/anond.hatelabo.jp\/20220410232915\">https:\/\/anond.hatelabo.jp\/20220410232915<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/anond.hatelabo.jp\/20220413220417\">https:\/\/anond.hatelabo.jp\/20220413220417<\/a><\/p>\n\n\n\n<p>\u307e\u3042\u8a71\u534a\u5206\u304f\u3089\u3044\u306b\u805e\u3044\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3055\u305d\u3046\u3060\u304c\u3001\u306a\u3093\u304b\u30ea\u30a2\u30eb\u306a\u5b9f\u60c5\u3063\u3066\u611f\u3058\u3067\u9762\u767d\u304b\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u9593DDD\u306b\u3064\u3044\u3066\u52c9\u5f37\u3057\u305f\u6642\u306b\u77e5\u3063\u305f\u300c\u30c9\u30e1\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u9006\u8ee2\u300d\u3092\u5b9f\u8df5\u3057\u3066\u307f\u305f\u3002\u304b\u306a\u308a\u3057\u3063\u304f\u308a\u304f\u308b\u3002\u8a2d\u8a08\u306b\u95a2\u3057\u3066\u4f55\u304b\u304c\u3057\u3063\u304f\u308a\u304f\u308b\u3001\u3068\u3044\u3046\u7d4c\u9a13\u306f\u521d\u3081\u3066\u3057\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3059\u3054\u3044\u3002 \u4eca\u65e5\u89e3 &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2022-4-14%e6%9c%a8\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2022\/4\/14(\u6728)&#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-2575","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/2575","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=2575"}],"version-history":[{"count":4,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/2575\/revisions"}],"predecessor-version":[{"id":2580,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/2575\/revisions\/2580"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=2575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=2575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=2575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}