{"author_url":"https://blog.hatena.ne.jp/obelisk2/","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51UODCJtLqL._SL160_.jpg","author_name":"obelisk2","provider_url":"https://hatena.blog","blog_url":"https://obelisk.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2018%2F03%2F07%2F171123\" title=\"\u3042\u307f\u3060\u304f\u3058\u306e\u6a2a\u7dda\uff08Ruby\uff09 - Camera Obscura\" 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":"Camera Obscura","version":"1.0","height":"190","description":"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u30fb\u30d1\u30ba\u30eb\u3067\u3059\u3002 \u554f\u984c\uff1a 1 ~ 7 \u306e\u6570\u5b57\u3092\u4e26\u3079\u3066\u3042\u307f\u3060\u304f\u3058\u3092\u4f5c\u308b\u3053\u3068\u3092\u8003\u3048\u307e\u3059\u3002\u5f15\u304f\u6a2a\u7dda\u306e\u6570\u3092 10\u672c\u3068\u3059\u308b\u3068\u304d\u3001\u4e0b\u306b\u5f97\u3089\u308c\u308b\u6570\u5b57\u306e\u4e26\u3073\u306f\u4f55\u3068\u304a\u308a\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u304b\u3002\u305f\u3060\u3057\u3001\u4e0b\u306b\u5f97\u3089\u308c\u308b\u6570\u5b57\u306e\u4e26\u3073\u304c 10\u672c\u3088\u308a\u5c11\u306a\u3044\u6a2a\u7dda\u306e\u3042\u307f\u3060\u304f\u3058\u3067\u65e2\u306b\u5f97\u3089\u308c\u308b\u5834\u5408\u3001\u305d\u308c\u306f\u9664\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002 Ruby \u3067\u89e3\u3044\u3066\u307f\u307e\u3057\u305f\u3002 q57.rb require 'set' N = 7 List = \"1234567\" def exchange(i, ls, num) ls[i], ls[i + 1] = ls[i + 1], ls[i] if num == 10 @result << ls else @st\u2026","provider_name":"Hatena Blog","categories":["Ruby","\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u30fb\u30d1\u30ba\u30eb"],"title":"\u3042\u307f\u3060\u304f\u3058\u306e\u6a2a\u7dda\uff08Ruby\uff09","type":"rich","published":"2018-03-07 17:11:23","url":"https://obelisk.hatenablog.com/entry/2018/03/07/171123","width":"100%"}