<?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>AtCoder</anon>
  </categories>
  <description>「ナップサック問題か〜どのナップサックかな〜 多分半分全列挙？」「全部です」「はい」 問題 abc032.contest.atcoder.jp 解法 蟻本に載ってるナップサック問題の解法を試せば良いです。蟻本第二版での話ですが, 半分全列挙 -&gt; p148 w[i] p52 v[i] p60に書いてあります。 ll v[222], w[222]; pll ps[1&lt;&lt;16]; ll dp[2][222*1000]; int main() { cin.tie(0); ios::sync_with_stdio(false); int N; ll W; cin &gt;&gt; N &gt;&gt; W; for (int…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F01%2F09%2F230000&quot; title=&quot;AtCoder Beginner Contest 032 D - ナップサック問題 - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-09 23:00:00</published>
  <title>AtCoder Beginner Contest 032 D - ナップサック問題</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2016/01/09/230000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
