{"url":"https://orangetech.hateblo.jp/entry/2017/02/06/192402","title":"ctf\u306e\u304a\u52c9\u5f37 ksnctf #17 Math2 #28 Lo-Tech Cipher","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://orangetech.hateblo.jp/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Forangetech.hateblo.jp%2Fentry%2F2017%2F02%2F06%2F192402\" title=\"ctf\u306e\u304a\u52c9\u5f37 ksnctf #17 Math2 #28 Lo-Tech Cipher - \u6708\u65e5\u306f\u767e\u4ee3\u306e\u904e\u5ba2\u306b\u3057\u3066\u3002\u3002\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-02-06 19:24:02","description":"ksnctf\u3092\u89e3\u3044\u3066\u307f\u305f ksnctf #17 Math2 \u6570\u5b66\u554f\u984c\u3002 2\u5206\u63a2\u7d22\u3067\u6c42\u3081\u308b\u554f\u984c\u3002Step1. 10^n def calc_digits(x) min = 1 max = x.size p max while max - min > 2 do ave = (max + min) / 2 if (10 ** ave) ** 101 > x max = ave else min = ave end end min end def calc_y(x, digits) min = 10 ** digits max = 10 ** (digits + 1) while max - min >\u2026","height":"190","width":"100%","version":"1.0","categories":["ctf"],"author_url":"https://blog.hatena.ne.jp/skymay/","provider_name":"Hatena Blog","author_name":"skymay","blog_title":"\u6708\u65e5\u306f\u767e\u4ee3\u306e\u904e\u5ba2\u306b\u3057\u3066\u3002\u3002\u3002"}