{"provider_url":"https://hatena.blog","url":"https://chiwawa-star.hatenablog.com/entry/2019/05/08/032140","provider_name":"Hatena Blog","author_name":"chiwawa_star","image_url":null,"width":"100%","published":"2019-05-08 03:21:40","author_url":"https://blog.hatena.ne.jp/chiwawa_star/","categories":["C++","\u7d04\u6570"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiwawa-star.hatenablog.com%2Fentry%2F2019%2F05%2F08%2F032140\" title=\"\u7d04\u6570\u5217\u6319\uff5cC++ - 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>","type":"rich","blog_url":"https://chiwawa-star.hatenablog.com/","height":"190","blog_title":"C++\u7af6\u30d7\u30ed\u5b66\u7fd2\u65e5\u8a18(\u4eee)","title":"\u7d04\u6570\u5217\u6319\uff5cC++","version":"1.0","description":"#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; vector<int> v; for( int i = 1; i <= N; i++ ) { if( N % i == 0 ) { v.emplace_back( i ); } } for( auto &x : v ) { cout << x << \" \"; } cout << endl; cout << \"count : \" << v.size() << endl; return 0; } INPUT 100 OUTPUT 1 2 4 5 1\u2026"}