{"categories":["Univ.","C++"],"height":"190","type":"rich","description":"#include <iostream> #include <algorithm> #include <vector> using namespace std; int main(int argc,char* argv[]){ vector<int> num; int number; // \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u5165\u529b while(true){ cin >> number; if(number == 0){ break; } num.push_back(number); } // \u30bd\u30fc\u30c8 sort(num.begin(), num.end(),greater<int>()); // \u540c\u3058\u3082\u306e\u304c\u3042\u308c\u3070\u8868\u793a \u2026","title":"\u91cd\u8907\u3059\u308b\u6570\u5b57\u3092\u8868\u793a\uff08c\uff0b\uff0b\u306e\u5834\u5408\uff09","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://gomi-box.hatenablog.com/entry/20071006/1194421942","blog_url":"https://gomi-box.hatenablog.com/","published":"2007-10-06 16:52:22","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgomi-box.hatenablog.com%2Fentry%2F20071006%2F1194421942\" title=\"\u91cd\u8907\u3059\u308b\u6570\u5b57\u3092\u8868\u793a\uff08c\uff0b\uff0b\u306e\u5834\u5408\uff09 - \u6bdb\u306e\u306f\u3048\u305f\u3088\u3046\u306a\u3082\u306e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","image_url":null,"blog_title":"\u6bdb\u306e\u306f\u3048\u305f\u3088\u3046\u306a\u3082\u306e","width":"100%","author_url":"https://blog.hatena.ne.jp/gomi-box/","author_name":"gomi-box"}