{"author_url":"https://blog.hatena.ne.jp/inamori/","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2025%2F06%2F29%2F205841\" title=\"AtCoder Beginner Contest 412 D - 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>","description":"https://atcoder.jp/contests/abc412/tasks/abc412_d\u30b0\u30e9\u30d5\u304c\u30eb\u30fc\u30d7\u306e\u307f\u3067\u69cb\u6210\u3055\u308c\u308b\u30b0\u30e9\u30d5\u3092\u5168\u3066\u8003\u3048\u308c\u3070\u3088\u3044\u3067\u3059\u3002\u30eb\u30fc\u30d7\u306f\u30ce\u30fc\u30c9\u6570\u304c3\u4ee5\u4e0a\u3067N\u304c8\u4ee5\u4e0b\u306a\u306e\u3067\u3001\u30eb\u30fc\u30d7\u306f2\u3064\u4ee5\u4e0b\u306a\u306e\u3067\u3061\u3087\u3063\u3068\u697d\u3067\u3059\u3002\u305d\u306e\u30b0\u30e9\u30d5\u306e\u30a8\u30c3\u30b8\u3068\u4e0e\u3048\u3089\u308c\u305f\u30a8\u30c3\u30b8\u306e\u4ea4\u5dee\u3092\u8abf\u3079\u308c\u3070\u4f55\u56de\u306e\u64cd\u4f5c\u3067\u305d\u306e\u30b0\u30e9\u30d5\u306b\u306a\u308b\u3092\u7c21\u5358\u306b\u6570\u3048\u3089\u308c\u307e\u3059\u3002 // Make 2-Regular Graph #![allow(non_snake_case)] use std::collections::HashSet; //////////////////// library //////////////////\u2026","provider_name":"Hatena Blog","height":"190","image_url":null,"blog_url":"https://inamori.hateblo.jp/","provider_url":"https://hatena.blog","title":"AtCoder Beginner Contest 412 D","author_name":"inamori","type":"rich","version":"1.0","published":"2025-06-29 20:58:41","url":"https://inamori.hateblo.jp/entry/2025/06/29/205841","blog_title":"inamori\u2019s diary","width":"100%"}