{"url":"https://masablog0405.hatenablog.com/entry/2021/01/16/083033","image_url":null,"type":"rich","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasablog0405.hatenablog.com%2Fentry%2F2021%2F01%2F16%2F083033\" title=\"\u3010CodeWars\u30111/10 ~ 1/16\u306b\u89e3\u3044\u305f\u554f\u984c\u305f\u3061 - exit(&#39;IN&#39;);\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"exit('IN');","published":"2021-01-16 08:30:33","author_name":"masablog0405","version":"1.0","author_url":"https://blog.hatena.ne.jp/masablog0405/","title":"\u3010CodeWars\u30111/10 ~ 1/16\u306b\u89e3\u3044\u305f\u554f\u984c\u305f\u3061","description":"\u8a18\u4e8b\u306e\u5185\u5bb9 1/10 ~ 1/16\u306bCodeWars\u3067\u89e3\u3044\u305f\u554f\u984c\u3067\u3059\u3002 JavaScript\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u671d\u89e3\u3044\u3066\u3044\u308b\u306e\u3067\u3001\u3059\u3050\u89e3\u3051\u308b\u7c21\u5358\u306a\u554f\u984c\u3070\u304b\u308a\u3067\u3059\u3002 1/10 N-th Power \u554f\u984c\u306e\u6982\u8981 \u914d\u5217\u306eN\u756a\u76ee\u306e\u8981\u7d20\u306eN\u4e57\u3092\u8fd4\u5374\u3059\u308b\u3002 www.codewars.com \u30b3\u30fc\u30c9 function index(array, n){ return array[n] ? Math.pow(array[n], n) : -1 } 1/11 Four/Seven \u554f\u984c\u306e\u6982\u8981 4\u306a\u30897, 7\u306a\u30894\u3092\u8fd4\u5374\u3059\u308b\u3002 \u305f\u3060\u3057\u3001if\u3084switch\u3092\u4f7f\u7528\u305b\u305a\u306b\u3002 www.codewars.com \u30b3\u30fc\u30c9 fu\u2026","categories":["CodeWars"],"blog_url":"https://masablog0405.hatenablog.com/","provider_name":"Hatena Blog","height":"190","width":"100%"}