{"height":"190","provider_name":"Hatena Blog","type":"rich","version":"1.0","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","C++"],"blog_title":"\u4e09\u6d66\u30ce\u30fc\u30c8","author_name":"OviskoutaR","published":"2019-08-27 00:45:59","blog_url":"https://www.k-pmpstudy.com/","author_url":"https://blog.hatena.ne.jp/OviskoutaR/","url":"https://www.k-pmpstudy.com/entry/2019/08/27/cpp2Dmax","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.k-pmpstudy.com%2Fentry%2F2019%2F08%2F27%2Fcpp2Dmax\" title=\"C++ \u30672\u6b21\u5143\u914d\u5217\u306e\u6700\u5927\u5024\u3092\u6c42\u3081\u308b\uff0e - \u4e09\u6d66\u30ce\u30fc\u30c8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_url":"https://hatena.blog","description":"C++ \u30671\u6b21\u5143\u914d\u5217\u306e\u6700\u5927\u5024\u3092\u6c42\u3081\u308b\u306a\u3089\u3070for\u6587\u3092\u4f7f\u308f\u305a\u306b max_element \u3092\u4f7f\u3046\u3068\u697d\u3067\u3059\uff0e 2\u6b21\u5143\u914d\u5217\u306e\u6700\u5927\u5024\u3092\u4e00\u5ea6\u306b\u6c42\u3081\u308bSTL\u95a2\u6570\u306f\u79c1\u306f\u898b\u3064\u3051\u3089\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u304c\uff0c\u5404\u884c\u306b\u5bfe\u3057\u3066 max_element \u3092\u7e70\u308a\u8fd4\u305b\u3070\u3044\u3044\u3067\u3057\u3087\u3046\uff0e max_element \u306e\u304a\u304b\u3052\u3067 for \u3092\u66f8\u304f\u624b\u9593\u304c\u4e00\u56de\u3060\u3051\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u3066\u3046\u308c\u3057\u3044\u3067\u3059\u306d\uff0e \u540c\u69d8\u306b\u6700\u5c0f\u5024\u3092\u6c42\u3081\u305f\u3044\u3068\u304d\u306f\uff0c min_element \u3092\u4f7f\u3048\u3070\u3044\u3044\u3067\u3059\uff0e \u4f8b #include <iostream> #include <vector> #include <algorithm> using namespace std; int main\u2026","title":"C++ \u30672\u6b21\u5143\u914d\u5217\u306e\u6700\u5927\u5024\u3092\u6c42\u3081\u308b\uff0e"}