{"width":"100%","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","title":"Segments on a Polygon [yukicoder No.743]","image_url":null,"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","published":"2018-10-06 01:36:38","author_name":"hamayanhamayan","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"height":"190","blog_url":"https://blog.hamayanhamayan.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F10%2F06%2F013638\" title=\"Segments on a Polygon [yukicoder No.743] - \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>","url":"https://blog.hamayanhamayan.com/entry/2018/10/06/013638","version":"1.0","description":"https://yukicoder.me/problems/no/743 \u89e3\u6cd5 https://yukicoder.me/submissions/289965A[i]\uff1cB[i]\u3068\u306a\u308b\u3088\u3046\u306b\u6574\u5f62\u3057\u3066\u304a\u304f\u3002 \u3059\u308b\u3068\u3001\u7dda\u5206i\u3068\u7dda\u5206j\u304c\u4ea4\u308f\u308b\u6761\u4ef6\u306f A[j]\uff1cA[i]\u304b\u3064A[i]\uff1cB[j]\uff1cB[i] \u307e\u305f\u306f A[i]\uff1cA[j]\uff1cB[i]\u304b\u3064B[i]\uff1cB[j] \u3067\u3042\u308b\u3002 \u305d\u306e\u305f\u3081\u3001\u9577\u65b9\u5f62\u533a\u9593\u7dcf\u548c\u3092\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u3001\u7b54\u3048\u304c\u6c42\u307e\u308b\u3002 \u3044\u308d\u3044\u308d\u65b9\u6cd5\u304c\u3042\u308b\u300cWaveletMatrix\u300d\u300c2D\u30bb\u30b0\u30e1\u30f3\u30c8\u30c4\u30ea\u30fc\u300d\u300cBIT\u3092\u4f7f\u3063\u3066\u3082\u3067\u304d\u305d\u3046\u300d \u81ea\u5206\u306e\u5b9f\u88c5\u3067\u306f2D\u30bb\u30b0\u30e1\u30f3\u30c8\u30c4\u30ea\u30fc\u3092\u4f7f\u3063\u305f\u3002 \u3053\u306e\u6570\u3048\u65b9\u3060\u3068\u7dda\u5206a\u3068\u7dda\u2026"}