{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F06%2F23%2F193239\" title=\"Red Scarf [AtCoder Beginner Contest 171 E] - \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>","version":"1.0","provider_url":"https://hatena.blog","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","provider_name":"Hatena Blog","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"blog_url":"https://blog.hamayanhamayan.com/","published":"2020-06-23 19:32:39","author_name":"hamayanhamayan","title":"Red Scarf [AtCoder Beginner Contest 171 E]","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","description":"https://atcoder.jp/contests/abc171/tasks/abc171_e \u89e3\u8aac https://atcoder.jp/contests/abc171/submissions/14625557 XOR\u306e\u6027\u8cea\u3092\u77e5\u3063\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002 x ^ x = 0 x ^ 0 = x \u3053\u306e\u30eb\u30fc\u30eb\u304b\u3089\u3001\u5168\u3066\u306e\u6570\u306exor\u3092\u53d6\u3063\u305f\u3068\u304d\u306b\u540c\u3058\u6570\u304c\u8907\u6570\u500b\u3042\u3063\u305f\u5834\u5408\u306f2\u500b\u30bb\u30c3\u30c8\u3067\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u308b \u3053\u3068\u304c\u5206\u304b\u308b\u3002 1 xor 1 xor 2 xor 2 xor 2 xor 3\u3068\u306a\u3063\u3066\u3044\u308c\u3070\u30012 xor 3\u3068\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u7a81\u62cd\u5b50\u3082\u7121\u3044\u767a\u60f3\u3060\u304c\u3001\u6570\u5217a\u306e\u5168\u90e8\u306exor\u3092\u53d6\u308b\u3002 \u4f8b\u3048\u3070\u3001\u5143\u3005{1\u2026","height":"190","url":"https://blog.hamayanhamayan.com/entry/2020/06/23/193239","width":"100%","image_url":null}