<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takapt0226</author_name>
  <author_url>https://blog.hatena.ne.jp/takapt0226/</author_url>
  <blog_title>takapt0226's diary</blog_title>
  <blog_url>https://takapt0226.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>AOJで他の解法投げると見れなくなると思うので，とりあえずコード貼っておきます 解法 直方体とその領域で重なっている数を持っておく． ソースコード 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&lt;Rect, int&gt; Area; // (rect, num of fishes) bool intersect(const Rect&amp; a, const Rect&amp; b, Rect&amp; r) { …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakapt0226.hatenablog.com%2Fentry%2F2013%2F02%2F06%2F203602&quot; title=&quot;AOJ 580 Fish (おそらく非想定解？) - takapt0226&amp;#39;s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-02-06 20:36:02</published>
  <title>AOJ 580 Fish (おそらく非想定解？)</title>
  <type>rich</type>
  <url>https://takapt0226.hatenablog.com/entry/2013/02/06/203602</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
