{"blog_title":"Logfiles","categories":["UVa"],"provider_url":"https://hatena.blog","type":"rich","published":"2014-09-06 19:05:22","provider_name":"Hatena Blog","blog_url":"https://logfiles.hatenablog.com/","title":"UVa10035 Primary Arithmetic","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140906%2F1409997922\" title=\"UVa10035 Primary Arithmetic - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","description":"\u89e3\u8aac \u4e8c\u9805\u52a0\u7b97\u306e\u7e70\u4e0a\u3052\u56de\u6570\u3092\u8abf\u3079\u308b\u3002\u52a0\u7b97\u51e6\u7406\u306f string \u3088\u308a\u3082 vector \u306b\u3059\u308b\u3068\u3084\u308a\u3084\u3059\u3044\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3046\u3002 #include <iostream> #include <algorithm> #include <string> #include <vector> using namespace std; int main() { string a, b; while(cin >> a >> b) { if(a == \"0\" && b == \"0\") break; reverse(a.begin(), a.end()); reverse(b.begin(), b.end()); ve\u2026","width":"100%","author_url":"https://blog.hatena.ne.jp/moistx/","url":"https://logfiles.hatenablog.com/entry/20140906/1409997922","height":"190","image_url":null,"author_name":"moistx"}