<?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.260 世界のなんとか3 - yukicoder 解法 見た目から明らかに桁DPです。dp[n][big][exist][mod3][mod8] = (n番目までで,元の数より大きいフラグがbigで,とある桁に3があるかのフラグがexistで,3で割った余りがmod3で,8で割った余りがmod8であるような場合の数) を更新していきます。最近わかったのですが,桁DPは次の状態を表すnext_existとかnext_mod3とか新しい変数を用意してやるとかなり書きやすくなりますね。 const int MAXN = 100100; c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F08%2F01%2F102121&quot; title=&quot;yukicoder No.260 世界のなんとか3 - 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>2015-08-01 10:21:21</published>
  <title>yukicoder No.260 世界のなんとか3</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/08/01/102121</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
