{"blog_title":"\u30dc\u30af\u30ce\u30b9","title":" SRM 158 DIV2 Level One - \u30bf\u30a4\u30e4\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080527%2F1211895186\" title=\" SRM 158 DIV2 Level One - \u30bf\u30a4\u30e4\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3 - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"tanakaBox","version":"1.0","url":"https://boxnos.hatenablog.com/entry/20080527/1211895186","height":"190","description":"\u30bf\u30a4\u30e4\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306a\u3093\u3066\u8003\u3048\u305f\u3053\u3068\u7121\u3044\u3088\u3002 \u30bf\u30a4\u30e4\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u30011 -> 3, 2 -> 4, 3 -> 2, 4 -> 1\u3053\u3093\u306a\u611f\u3058\u3002\u521d\u671f\u8a2d\u5b9a\u304b\u3089\u4f55\u30d5\u30a7\u30fc\u30ba\u76ee\u3067\u4eca\u306e\u8a2d\u5b9a\u306b\u306a\u308b\u304b\u3068\u3044\u3046\u554f\u984c\u3002 \u6570\u5b66\u3063\u307d\u304f\u3044\u3051\u308b\u304b\u3068\u601d\u3063\u305f\u3051\u3069\u3001\u30a4\u30de\u30a4\u30c1\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30c6\u30fc\u30d6\u30eb\u3092\u5143\u306bswap\u3055\u305b\u308b\u3053\u3068\u306b\u3057\u305f\u3002 #include <string> #include <algorithm> using namespace std; class TireRotation { public: static int getRotation(string initial, string current) { st\u2026","type":"rich","blog_url":"https://boxnos.hatenablog.com/","width":"100%","published":"2008-05-27 22:33:06","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/tanakaBox/","categories":["C++","TopCoder"],"provider_url":"https://hatena.blog"}