{"url":"https://blog.emattsan.org/entry/20140803/1407062263","version":"1.0","blog_title":"\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5","blog_url":"https://blog.emattsan.org/","provider_name":"Hatena Blog","categories":["C++","Haskell","Prolog","Ruby"],"type":"rich","description":"\u5148\u65e5Ruby\u3067\u66f8\u3044\u305f\u3082\u306e\u3092Ruby\u4ee5\u5916\u306e\u30e1\u30b8\u30e3\u30fc\u3069\u3053\u308d\u306e\u8a00\u8a9e\u3067\u3082\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3059\u3002 \u6841\u4e0a\u304c\u308a\u3067\uff11\u6587\u5b57\u623b\u3059 Ruby \u518d\u63b2\u3002 def column_names(n) result = '' begin result = (n % 26 + 65).chr + result n = n / 26 - 1 end while n >= 0 result end C++ #include <string> std::string column_names(int n) { std::string result; do { result = char(n % 26 + 'A') + result; n =\u2026","author_url":"https://blog.hatena.ne.jp/E_Mattsan/","title":" \u3044\u304b\u306b\u3057\u3066\u8868\u8a08\u7b97\u306e\u5217\u540d\u3092\u3064\u304f\u308b\u304b\u30fb\u88dc\u907a","width":"100%","author_name":"E_Mattsan","image_url":null,"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20140803%2F1407062263\" title=\" \u3044\u304b\u306b\u3057\u3066\u8868\u8a08\u7b97\u306e\u5217\u540d\u3092\u3064\u304f\u308b\u304b\u30fb\u88dc\u907a - \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2014-08-03 19:37:43","provider_url":"https://hatena.blog"}