<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Area1</author_name>
  <author_url>https://blog.hatena.ne.jp/Area1/</author_url>
  <blog_title>Area1のif(memo[i][j])</blog_title>
  <blog_url>https://area.hateblo.jp/</blog_url>
  <categories>
    <anon>POJ</anon>
    <anon>シミュレーション</anon>
  </categories>
  <description>問題 N人にM枚ずつカードが配られる。カードには1〜N*Mまでの数字が書かれており、重複はない。各人は毎ターン一枚のカードを場に出し、一番数字の大きいカードを出した人がそのターンの勝ちになる。あなたに配られたカードがわかっているとき、あなたが最低何回勝てるか求めよ。 やりかた N人でゲームをやっているというよりも、自分のカード以外のカードをすべて持っている一人のプレイヤーと勝負すると考えたほうがわかりやすい。まず手持ちのカードで一番大きいものから出して行って、出した時点でそれより大きいカードを相手が持っているなら負け、持っていなければ勝ちと数えていけばいい。以下ソース。 int main(in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farea.hateblo.jp%2Fentry%2F2016%2F05%2F18%2F181036&quot; title=&quot;POJ 1323 Game Prediction - Area1のif(memo[i][j])&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>2016-05-18 18:10:36</published>
  <title>POJ 1323 Game Prediction</title>
  <type>rich</type>
  <url>https://area.hateblo.jp/entry/2016/05/18/181036</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
