{"published":"2013-12-07 17:46:51","width":"100%","author_url":"https://blog.hatena.ne.jp/ikemonn/","version":"1.0","blog_url":"https://ikemonn.hatenablog.com/","categories":["TopCoder"],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fikemonn.hatenablog.com%2Fentry%2F2013%2F12%2F07%2F174534\" title=\"\u3010TopCoder\u3011SRM 162 DIV2 Lv.1 - ikemonn&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"url":"https://ikemonn.hatenablog.com/entry/2013/12/07/174534","title":"\u3010TopCoder\u3011SRM 162 DIV2 Lv.1","author_name":"ikemonn","description":"\u554f\u984c\u6587\u6982\u7565 \u4e0e\u3048\u3089\u308c\u305f2\u3064\u306e\u6570\u5b57\u306e\u9593\u306e\u6570\u5168\u3066\u306e\u6700\u5c0f\u516c\u500d\u6570\u3092\u6c42\u3081\u308b\u3002 \u66f8\u3044\u305f\u30b3\u30fc\u30c9 public class LCMRange { public int lcm(int first, int last) { int max = 1; boolean flag = false; int ans = 0; //max\u3092\u51fa\u3059 for(int i = first; i <= last; i++) { max *= i; } //last~max\u307e\u30671\u3064\u305a\u3064\u8abf\u3079\u308b for(int j = last; j <= max; j++) { if(flag == true) { break; } for(int \u2026","height":"190","blog_title":"ikemonn's blog","provider_url":"https://hatena.blog","provider_name":"Hatena Blog"}