{"categories":[],"author_name":"ikemonn","blog_url":"https://ikemonn.hatenablog.com/","blog_title":"ikemonn's blog","height":"190","width":"100%","published":"2013-12-04 08:44:43","type":"rich","url":"https://ikemonn.hatenablog.com/entry/2013/12/04/084344","description":"SRM 160 DIV2 Lv.1 \u554f\u984c\u6587\u6982\u7565 \u6587\u5b57\u5217\u304c\u4e0e\u3048\u3089\u308c\u3066\u304a\u308a\u3001\u7279\u5b9a\u306e\u898f\u5247\u306b\u305d\u3063\u3066\u6587\u5b57\u5217\u3092\u6570\u5b57\u306b\u5909\u63db\u3059\u308b \u66f8\u3044\u305f\u30b3\u30fc\u30c9 public class Substitute { public int getValue(String key, String code) { char[] keyArray = key.toCharArray(); char[] codeArray = code.toCharArray(); int ans = 0; for(char x: codeArray) { int num = 1; for(char y: keyArray) { if(ans == 0 \u2026","title":"\u3010TopCoder\u3011SRM 160 DIV2 Lv.1","provider_url":"https://hatena.blog","image_url":null,"version":"1.0","author_url":"https://blog.hatena.ne.jp/ikemonn/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fikemonn.hatenablog.com%2Fentry%2F2013%2F12%2F04%2F084344\" title=\"\u3010TopCoder\u3011SRM 160 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>"}