{"description":"\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8\u306e\u30b3\u30fc\u30c9\u3092C++\u3067\u5b9f\u88c5\u3057\u305f\u3082\u306e\u3092\u4ee5\u4e0b\u306b\u793a\u3059\u3002 #include <utility> void bubble_sort(int target[], int len) { bool goon = true; while (goon) { goon = false; for (int i = len - 1; i > 0; i--) { if (target[i - 1] > target[i]) { std::swap(target[i - 1], target[i]); goon = true; } } } }","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroi.hateblo.jp%2Fentry%2F2020%2F04%2F05%2F103222\" title=\"C++\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8\u306e\u30b3\u30fc\u30c9 - Thought about system and engineering\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2020-04-05 10:32:22","image_url":null,"type":"rich","categories":["Algorithms","C++"],"height":"190","provider_url":"https://hatena.blog","author_name":"hiro211","author_url":"https://blog.hatena.ne.jp/hiro211/","url":"https://hiroi.hateblo.jp/entry/2020/04/05/103222","blog_title":"Thought about system and engineering","provider_name":"Hatena Blog","title":"C++\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8\u306e\u30b3\u30fc\u30c9","blog_url":"https://hiroi.hateblo.jp/","width":"100%"}