<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
  </categories>
  <description>これは面白い問題だなぁ。 問題 No.210 探し物はどこですか？ - yukicoder 解法 実際に最適な動きをシミュレーションする。具体的には,・現時点で一番ある確率が高い部屋に探しに行く。今までに部屋iにx回通っていたとすると,その部屋でものを見つける確率はで求めることができる。実際の実装では,いちいちこの値を求める必要はなく,priority_queueに値を詰め込んでいき,ある値を取り出したら(1-q[i])を掛け算して再びpushすれば良い。以下ソースコード double p[1111], q[1111]; int main() { cin.tie(0); ios::sync_w…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F05%2F16%2F092914&quot; title=&quot;yukicoder No.210 探し物はどこですか？ - mayoko’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>http://chart.apis.google.com/chart?cht=tx&amp;chl=%20p_i%281-q_i%29%5E%7Bx-1%7Dq_i</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-05-16 09:29:14</published>
  <title>yukicoder No.210 探し物はどこですか？</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/05/16/092914</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
