{"author_name":"ato1234","version":"1.0","author_url":"https://blog.hatena.ne.jp/ato1234/","type":"rich","image_url":null,"blog_url":"https://atolog.hatenablog.com/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","description":"codeiq.jp \u72ac codeiq.jp \u3010\u554f\u984c\u3011 \u72ac\u304c\u51fa\u305d\u3046\u3068\u3057\u3066\u3044\u308b\u624b\u3092\u8aad\u307f\u53d6\u3063\u3066\u3001\u308f\u3056\u3068\u8ca0\u3051\u3066\u3042\u3052\u308b\u3088\u3046\u306b\u624b\u3092\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30b0\u30fc\u3092\u300cG\u300d\u3001\u30c1\u30e7\u30ad\u3092\u300cC\u300d\u3001\u30d1\u30fc\u3092\u300cP\u300d\u3068\u3059\u308b\u3068\u3001\u305f\u3068\u3048\u3070\u72ac\u304c\u300cG\u300d\u3092\u51fa\u305d\u3046\u3068\u3057\u3066\u3044\u308b\u3068\u304d\u306f\u300cC\u300d\u3092\u51fa\u3057\u3066\u3042\u3052\u3066\u304f\u3060\u3055\u3044\u3002 \u30b3\u30fc\u30c9 ruby\u3067\u3002 \u4e00\u5207\u306e\u601d\u8003\u3092\u653e\u68c4\u3057\u3066\u554f\u984c\u6587\u901a\u308a\u66f8\u3044\u305f\u3002 input = gets.chomp.strip if input == \"G\" puts \"C\" elsif input == \"C\" puts \"P\" else puts \"G\" end \u96c9 codeiq.jp \u3010\u554f\u984c\u3011 \u3066\u3093\u3073\u3093\u304c1\u3064\u3042\u308a\u307e\u3059\u3002 1\u30b0\u30e9\u30e0\u304b\u3089n\u30b0\u30e9\u30e0\u307e\u3067\u2026","published":"2015-09-15 00:39:09","height":"190","categories":[],"blog_title":"ATO's blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatolog.hatenablog.com%2Fentry%2F2015%2F09%2F15%2F003909\" title=\"CodeIQ\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u306b\u6311\u6226\u3057\u307e\u3057\u305f - ATO&#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>","url":"https://atolog.hatenablog.com/entry/2015/09/15/003909","title":"CodeIQ\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u306b\u6311\u6226\u3057\u307e\u3057\u305f"}