<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>UVa</anon>
  </categories>
  <description>解法 先に計算すべき配列の要素が、どれも i より小さくなるので、順に計算できる。 #include &lt;cstdio&gt; #include &lt;cmath&gt; using namespace std; #define MAX (1000001) #define MOD (1000000) int x[MAX]; int main() { x[0] = 1; for(int i=1; i&lt;MAX; i++) { x[i] = ( (x[int(i-sqrt(i))] + x[(int)log(i)]) % MOD + x[(int)(i*sin(i)*sin(i))] ) % MOD; } int i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140902%2F1409667023&quot; title=&quot;UVa11703 sqrt log sin - Logfiles&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>2014-09-02 23:10:23</published>
  <title>UVa11703 sqrt log sin</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140902/1409667023</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
