{"height":"190","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F07%2F16%2F135300\" title=\"ARC091-D:Remainder Reminder(400) - \u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u554f\u984c https://beta.atcoder.jp/contests/arc091/tasks/arc091_b 1 <= a, b <= n \u3067\u3042\u308b a, b \u304c\u4e0e\u3048\u3089\u308c\u308b\u3002a % b >= k \u3067\u3042\u308b\u500b\u6570\u3092\u6c42\u3081\u3088\u3002 \u5236\u7d04 1 <= n <= 105 1 <= k <= n-1 \u5165\u529b\u5024\u306f\u6574\u6570 \u8003\u3048\u65b9 a_n = {1, 2, 3, ..., n}, b_n = {1, 2, 3, ..., n} \u306e2\u3064\u306e\u6570\u5217\u304c\u4e0e\u3048\u3089\u308c\u3066\u3044\u308b\u3068\u8003\u3048\u3066\u826f\u3044\u30022\u3064\u306e\u8981\u7d20\u304c\u4e0e\u3048\u3089\u308c\u3066\u3001\u30ca\u30a4\u30fc\u30d6\u89e3\u304cO(N2)\u306b\u306a\u308b\u3068\u304d\u306e\u8a08\u7b97\u91cf\u3092\u843d\u3068\u3059\u6642\u306e\u5178\u578b\u306f\u300c\u7247\u65b9\u3092\u56fa\u5b9a\u3057\u3066\u3082\u3046\u7247\u65b9\u306b\u3064\u3044\u3066\u306f\u540c\u3058\u8981\u7d20/\u6027\u8cea\u3092\u307e\u3068\u3081\u3066\u6570\u3048\u4e0a\u3052\u308b\u300d\u3067\u2026","image_url":null,"title":"ARC091-D:Remainder Reminder(400)","author_url":"https://blog.hatena.ne.jp/d_tutuz/","published":"2018-07-16 13:53:00","url":"https://tutuz.hateblo.jp/entry/2018/07/16/135300","provider_name":"Hatena Blog","version":"1.0","type":"rich","categories":["\u6570\u3048\u4e0a\u3052","2\u5909\u6570"],"provider_url":"https://hatena.blog","blog_url":"https://tutuz.hateblo.jp/","blog_title":"\u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2","author_name":"d_tutuz"}