{"author_url":"https://blog.hatena.ne.jp/peryaudo/","type":"rich","description":"1\u56de\u76ee\u89e3\u7b54\u307e\u30673'37\"\u3001\u3057\u304b\u30571\u56de\u76ee\u306fWrong Answer\u3055\u308c\u305f\u3002 sprintf\u3092sscanf\u3063\u3066\u66f8\u3044\u305f\u3002 \u89e3\u6cd5\u3067\u4e00\u77ac\u3067\u3082\u60a9\u3093\u3058\u3083\u3044\u3051\u307e\u305b\u3093\u306d\u3002\u60a9\u3093\u3060\u6642\u9593\u3067\u554f\u984c\u306e\u5358\u7d14\u304b\u3069\u3046\u304b\u3068\u304b\u306f\u3075\u3063\u98db\u3076\u3050\u3089\u3044\u306e\u6642\u9593\u304c\u5931\u306a\u308f\u308c\u308b\u3002 #include <cstdio> int main(){ int a, b; char hoge[256]; while(scanf(\"%d %d\\n\", &a, &b) != EOF) printf(\"%d\\n\", sprintf(hoge, \"%d\", a+b)); return 0; }","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperyaudo.hatenablog.com%2Fentry%2F20100728%2F1280309416\" title=\"AOJ 0002 Digit Number - \u30da\u30ea\u30e3\u30a6\u30c9\u306e\u65e5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","height":"190","blog_title":"\u30da\u30ea\u30e3\u30a6\u30c9\u306e\u65e5","provider_url":"https://hatena.blog","author_name":"peryaudo","categories":["Programming","Algorithm","AOJ"],"title":"AOJ 0002 Digit Number","url":"https://peryaudo.hatenablog.com/entry/20100728/1280309416","image_url":null,"version":"1.0","provider_name":"Hatena Blog","blog_url":"https://peryaudo.hatenablog.com/","published":"2010-07-28 18:30:16"}