{"author_name":"shinichiro_h","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinh.hatenablog.com%2Fentry%2F20110117%2F1295271797\" title=\" dissimilar cyclic quine - \u517c\u96d1\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","version":"1.0","image_url":null,"width":"100%","published":"2011-01-17 22:43:17","blog_url":"https://shinh.hatenablog.com/","provider_url":"https://hatena.blog","height":"190","url":"https://shinh.hatenablog.com/entry/20110117/1295271797","author_url":"https://blog.hatena.ne.jp/shinichiro_h/","blog_title":"\u517c\u96d1\u8a18","categories":["Program"],"title":" dissimilar cyclic quine","description":"\u4ee5\u4e0b\u306e ruby \u30b3\u30fc\u30c9 A \u3092\u5b9f\u884c\u3059\u308b\u3068\u5225\u306e ruby \u30b3\u30fc\u30c9 B \u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u3067\u3001\u305d\u306e\u51fa\u529b\u3055\u308c\u305f\u30b3\u30fc\u30c9 B \u3092\u5b9f\u884c\u3059\u308b\u3068\u307e\u305f\u5143\u306e\u30b3\u30fc\u30c9 A \u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u304b\u3064\u3001\u30b3\u30fc\u30c9 A \u3068\u30b3\u30fc\u30c9 B \u306f\u540c\u3058\u30ad\u30e3\u30e9\u30af\u30bf\u3092\u542b\u3093\u3067\u3044\u307e\u305b\u3093\u3002 eval q=%q(puts ('DIGGB%sB'%(('eval q=%q('+q+')').bytes.map{|c|'L%o'%c}*'')).tr'A-Z','!-%;-?[-]') \u4ee5\u4e0b\u8aac\u660e\u3068\u304b\u3002\u5b9f\u884c\u3059\u308b\u3068\u4e00\u65e6\u9055\u3046\u30b3\u30fc\u30c9\u306b\u306a\u3063\u3066\u623b\u3063\u3066\u304f\u308b Quine \u3068\u3044\u3046\u306e\u306f\u3088\u304f\u8003\u3048\u308b\u308f\u3051\u3067\u3059\u3002\u8003\u3048\u308b\u3093\u3067\u3059\u3088! \u3067\u3059\u3051\u3069\u3001\u3053\u308c\u306f\u666e\u901a\u306e quine printf q=\"pr\u2026"}