{"title":"AOJ 580 Fish (\u304a\u305d\u3089\u304f\u975e\u60f3\u5b9a\u89e3\uff1f)","version":"1.0","width":"100%","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/takapt0226/","blog_title":"takapt0226's diary","description":"AOJ\u3067\u4ed6\u306e\u89e3\u6cd5\u6295\u3052\u308b\u3068\u898b\u308c\u306a\u304f\u306a\u308b\u3068\u601d\u3046\u306e\u3067\uff0c\u3068\u308a\u3042\u3048\u305a\u30b3\u30fc\u30c9\u8cbc\u3063\u3066\u304a\u304d\u307e\u3059 \u89e3\u6cd5 \u76f4\u65b9\u4f53\u3068\u305d\u306e\u9818\u57df\u3067\u91cd\u306a\u3063\u3066\u3044\u308b\u6570\u3092\u6301\u3063\u3066\u304a\u304f\uff0e \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 struct Rect { int v[3][2]; ll calc_area() const { ll res = 1; rep(d, 3) res *= v[d][1] - v[d][0]; return res; } }; typedef pair<Rect, int> Area; // (rect, num of fishes) bool intersect(const Rect& a, const Rect& b, Rect& r) { \u2026","published":"2013-02-06 20:36:02","url":"https://takapt0226.hatenablog.com/entry/2013/02/06/203602","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakapt0226.hatenablog.com%2Fentry%2F2013%2F02%2F06%2F203602\" title=\"AOJ 580 Fish (\u304a\u305d\u3089\u304f\u975e\u60f3\u5b9a\u89e3\uff1f) - takapt0226&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","type":"rich","author_name":"takapt0226","blog_url":"https://takapt0226.hatenablog.com/","height":"190","image_url":null}