{"type":"rich","height":"190","image_url":null,"url":"https://inamori.hateblo.jp/entry/2025/03/10/203955","description":"https://atcoder.jp/contests/abc396/tasks/abc396_e\u30ce\u30fc\u30c9X\u3068Y\u3092\u91cd\u307fW\u3067\u7d50\u3076\u7121\u5411\u30b0\u30e9\u30d5\u3068\u8003\u3048\u307e\u3059\u3002 \u5165\u529b\u4f8b1\u3067\u306f\u3001A1=v\u3068\u3059\u308b\u3068\u3001\u30b0\u30e9\u30d5\u3092\u8fbf\u3063\u3066\u3001A2=v XOR 3\u3001A3=v XOR 4\u3068\u306a\u308a\u307e\u3059\u3002\u306a\u306e\u3067\u3001 (v XOR 0) + (v XOR 3) + (v XOR 4) \u3092\u6700\u5c0f\u5316\u3059\u308bv\u3092\u6c42\u3081\u308c\u3070\u3088\u3044\u3067\u3059\u3002 XOR\u306a\u306e\u3067\u5404\u30d3\u30c3\u30c8\u3067\u8003\u3048\u308c\u3070\u3088\u3044\u3067\u3059\u30020, 3, 4\u30922\u9032\u6570\u306b\u3059\u308b\u3068\u3001 000 011 100\u4e00\u756a\u53f3\u306e\u30d3\u30c3\u30c8\u306f010\u306a\u306e\u3067\u3001v\u306e\u4e00\u756a\u4e0b\u306e\u30d3\u30c3\u30c8\u30920\u3068\u3059\u308b\u3068XOR\u3092\u53d6\u308b\u3068010\u30011\u3068\u3059\u308b\u3068101\u306b\u306a\u3063\u3066\u30010\u3092\u53d6\u308b\u65b9\u304c\u548c\u304c\u5c0f\u3055\u3044\u3053\u3068\u304c\u5206\u304b\u2026","author_url":"https://blog.hatena.ne.jp/inamori/","provider_url":"https://hatena.blog","blog_title":"inamori\u2019s diary","published":"2025-03-10 20:39:55","categories":[],"provider_name":"Hatena Blog","title":"AtCoder Beginner Contest 396 E","blog_url":"https://inamori.hateblo.jp/","version":"1.0","width":"100%","author_name":"inamori","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2025%2F03%2F10%2F203955\" title=\"AtCoder Beginner Contest 396 E - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}