{"blog_url":"https://chiwawa-star.hatenablog.com/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiwawa-star.hatenablog.com%2Fentry%2F2016%2F07%2F07%2F180626\" title=\"\u518d\u5e30\u2460\uff5c\u7b49\u5dee\u6570\u5217\u306e\u548c - 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>","categories":["\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u30c7\u30fc\u30bf\u69cb\u9020","\u30b3\u30fc\u30c9","\u95a2\u6570"],"published":"2016-07-07 18:06:26","author_url":"https://blog.hatena.ne.jp/chiwawa_star/","description":"#include <bits/stdc++.h> using namespace std; int sum( int N ) { if( N == 0 ) //\u57fa\u5e95\u90e8 { return 0; } else //\u518d\u5e30\u90e8 { return sum( N - 1 ) + 1; } } int main() { cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; cout << sum(n) << endl; return 0; } \u518d\u5e30\u96e3\u3057\u3044...\u3002 \u8272\u3005\u8abf\u3079\u305f\u7d50\u679c\u3001\u521d\u3081\u306e\u3046\u3061\u306f if (\u57fa\u5e95\u90e8) \u3068 else (\u518d\u5e30\u90e8) \u3092 \u304d\u3061\u3093\u3068\u2026","version":"1.0","title":"\u518d\u5e30\u2460\uff5c\u7b49\u5dee\u6570\u5217\u306e\u548c","blog_title":"C++\u7af6\u30d7\u30ed\u5b66\u7fd2\u65e5\u8a18(\u4eee)","height":"190","provider_url":"https://hatena.blog","width":"100%","image_url":null,"author_name":"chiwawa_star","provider_name":"Hatena Blog","url":"https://chiwawa-star.hatenablog.com/entry/2016/07/07/180626"}