<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiwawa_star</author_name>
  <author_url>https://blog.hatena.ne.jp/chiwawa_star/</author_url>
  <blog_title>C++競プロ学習日記(仮)</blog_title>
  <blog_url>https://chiwawa-star.hatenablog.com/</blog_url>
  <categories>
    <anon>素数</anon>
    <anon>競プロ</anon>
    <anon>競プロメモ</anon>
    <anon>コード</anon>
    <anon>テンプレ</anon>
  </categories>
  <description>以前、C++で素数判定！を書いたのですが、 今回は C++で素数列挙！O( N √N ) のコードを書いたのでメモとして残します。 #include &lt;bits/stdc++.h&gt; using namespace std; struct cww{cww(){ios::sync_with_stdio(false);cin.tie(0);}}star; int N; vector&lt;int&gt; P; void prime( const int N ) { for( int i = 2; i &lt;= N; i++ ) { bool flag = true; for( int j = 2; j * j &lt;=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiwawa-star.hatenablog.com%2Fentry%2F2016%2F11%2F25%2F012306&quot; title=&quot;C++で素数列挙！O( N √N )編 - C++競プロ学習日記(仮)&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-11-25 01:23:06</published>
  <title>C++で素数列挙！O( N √N )編</title>
  <type>rich</type>
  <url>https://chiwawa-star.hatenablog.com/entry/2016/11/25/012306</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
