{"blog_url":"https://chiwawa-star.hatenablog.com/","image_url":null,"height":"190","version":"1.0","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/chiwawa_star/","provider_url":"https://hatena.blog","blog_title":"C++\u7af6\u30d7\u30ed\u5b66\u7fd2\u65e5\u8a18(\u4eee)","type":"rich","url":"https://chiwawa-star.hatenablog.com/entry/2016/11/25/012306","published":"2016-11-25 01:23:06","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiwawa-star.hatenablog.com%2Fentry%2F2016%2F11%2F25%2F012306\" title=\"C++\u3067\u7d20\u6570\u5217\u6319\uff01O( N \u221aN )\u7de8 - C++\u7af6\u30d7\u30ed\u5b66\u7fd2\u65e5\u8a18(\u4eee)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u4ee5\u524d\u3001C++\u3067\u7d20\u6570\u5224\u5b9a\uff01\u3092\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\u3001 \u4eca\u56de\u306f C++\u3067\u7d20\u6570\u5217\u6319\uff01O( N \u221aN ) \u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u306e\u3067\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u307e\u3059\u3002 #include <bits/stdc++.h> using namespace std; struct cww{cww(){ios::sync_with_stdio(false);cin.tie(0);}}star; int N; vector<int> P; void prime( const int N ) { for( int i = 2; i <= N; i++ ) { bool flag = true; for( int j = 2; j * j <=\u2026","width":"100%","title":"C++\u3067\u7d20\u6570\u5217\u6319\uff01O( N \u221aN )\u7de8","categories":["\u7d20\u6570","\u7af6\u30d7\u30ed","\u7af6\u30d7\u30ed\u30e1\u30e2","\u30b3\u30fc\u30c9","\u30c6\u30f3\u30d7\u30ec"],"author_name":"chiwawa_star"}