<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kmjp</author_name>
  <author_url>https://blog.hatena.ne.jp/kmjp/</author_url>
  <blog_title>kmjp's blog</blog_title>
  <blog_url>https://kmjp.hatenablog.jp/</blog_url>
  <categories>
    <anon>Codeforces</anon>
  </categories>
  <description>さて3問目。 本番は少しCを見て、その後しばらくDに挑み、またCに戻ってきたのでだいぶ回答がおくれてしまった。 http://codeforces.com/contest/266/problem/C NxN行列のうち、N-1個の要素が1でその位置が与えられる。それ以外の要素は0である。 この時、行の入れ替えおよび列の入れ替えを行い、1を対角成分の左下側に寄せる。 そのような入れ替え手順例を答える問題。 入れ替え回数は最小でなくてもよい。Nこれはどうやれば1を左下に寄せられるかを考えるのが面白い問題。 色々考えた結果自分は以下の様に行った。まず第１ステップでは、行の入れ替えを行っていく。 行ごと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkmjp.hatenablog.jp%2Fentry%2F2013%2F01%2F27%2F1100&quot; title=&quot;Codeforces #163 Div2. C. Below the Diagonal - kmjp&amp;#39;s blog&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-01-27 11:00:00</published>
  <title>Codeforces #163 Div2. C. Below the Diagonal</title>
  <type>rich</type>
  <url>https://kmjp.hatenablog.jp/entry/2013/01/27/1100</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
