{"author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F07%2F28%2F111811\" title=\"0 or 1 Swap [AtCoder Beginner Contest 135 B]\n - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" 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%","provider_url":"https://hatena.blog","type":"rich","title":"0 or 1 Swap [AtCoder Beginner Contest 135 B]\n","version":"1.0","image_url":null,"published":"2019-07-28 11:18:11","blog_url":"https://blog.hamayanhamayan.com/","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_name":"Hatena Blog","height":"190","author_name":"hamayanhamayan","description":"https://atcoder.jp/contests/abc135/tasks/abc135_b \u89e3\u8aac https://atcoder.jp/contests/abc135/submissions/6588394 \u5165\u308c\u66ff\u3048\u64cd\u4f5c\u306f\u5168\u90e8\u3067O(N2)\u306a\u306e\u3067\u3001\u5168\u901a\u308a\u8a66\u3059\u3053\u3068\u306f\u3067\u304d\u305d\u3046\u3002 \u6607\u9806\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u306e\u5224\u5b9a\u3082O(N)\u3067\u3067\u304d\u308b\u306e\u3067\u3001\u5168\u90e8\u3067O(N3)\u3067\u9593\u306b\u5408\u3046\u3002 C++\u306b\u306fswap\u95a2\u6570\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3067\u8981\u7d20\u3092swap\u3057\u3088\u3046\u3002 int N, P[50], Q[50]; //-----------------------------------------------------------------\u2026","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","url":"https://blog.hamayanhamayan.com/entry/2019/07/28/111811"}