{"blog_url":"https://torus711.hatenablog.com/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftorus711.hatenablog.com%2Fentry%2F2024%2F02%2F25%2F200503\" title=\"AtCoder Beginner Contest 342, D : Square Pair - torus711 \u306e\u30a2\u30ec\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"torus711","title":"AtCoder Beginner Contest 342, D : Square Pair","provider_name":"Hatena Blog","published":"2024-02-25 20:05:03","image_url":null,"blog_title":"torus711 \u306e\u30a2\u30ec","provider_url":"https://hatena.blog","description":"\u554f\u984c\u6587 https://atcoder.jp/contests/abc342/tasks/abc342_d \u554f\u984c\u6982\u8981 $n$ \u9805\u304b\u3089\u306a\u308b\u975e\u8ca0\u81ea\u7136\u6570\u306e\u5217 $\\langle A_1, A_2, \\dots, A_n \\rangle$ \u304c\u4e0e\u3048\u3089\u308c\u308b\uff0e\u4ee5\u4e0b\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u9806\u5e8f\u5bfe $( i, j )$ \u306f\u3044\u304f\u3064\u3042\u308b\u304b\uff1f $1 \\leq i $A_i A_j$ \u306f\u5e73\u65b9\u6570 \u5236\u7d04 $2 \\leq n \\leq 2 \\times 10^5$ $0 \\leq A_i \\leq 2 \\times 10^5$","height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/torus711/","url":"https://torus711.hatenablog.com/entry/2024/02/25/200503","type":"rich","categories":["AtCoder","\u6570\u5b66","\u7d20\u56e0\u6570\u5206\u89e3"]}