{"categories":["Program"],"author_url":"https://blog.hatena.ne.jp/shinichiro_h/","published":"2006-07-13 06:54:54","blog_url":"https://shinh.hatenablog.com/","width":"100%","provider_name":"Hatena Blog","description":"LL \u3063\u3066\u306e\u306f\u30b3\u30fc\u30c9\u304c\u77ed\u3044\u8a00\u8a9e\u3067\u306f\u7121\u3044\u3093\u3060\u308d\u3046\u3051\u3069\u3002http://www.nishiohirokazu.org/blog/2006/07/python75collatz.html\u3068\u304b\u898b\u3066\u3001 C \u306f\u30c6\u30ad\u30c8\u30fc\u306b 93Byte \u3002\u9069\u5f53\u306a\u306e\u3067\u30a8\u30e9\u30a4\u4eba\u306f\u307e\u3060\u307e\u3060\u7e2e\u3081\u305d\u3046\u3002 main(){puts(\"97\\n\");} \u306f\u30ca\u30b7\u306e\u65b9\u5411\u3067\u3002 m=101,s,r,i;main(n){for(;n=--m;i=0)for(;n=n&1?n/2:n*3+3;++i>s?r=m,s=i:0);printf(\"%d\\n\",r+1);}\u898b\u308b\u304b\u3089\u306b1Byte\u6e1b\u3089\u305b\u305f\u304b\u3089\u524a\u3063\u305f\u3002 s,r,i;main(m,n){for(;m<\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinh.hatenablog.com%2Fentry%2F20060713%2F1152741294\" title=\" Collatz \u77ed\u7e2e\u7cfb - \u517c\u96d1\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","image_url":null,"author_name":"shinichiro_h","blog_title":"\u517c\u96d1\u8a18","type":"rich","title":" Collatz \u77ed\u7e2e\u7cfb","url":"https://shinh.hatenablog.com/entry/20060713/1152741294","version":"1.0"}