{"url":"https://gomi-box.hatenablog.com/entry/20071008/1194424859","author_url":"https://blog.hatena.ne.jp/gomi-box/","blog_url":"https://gomi-box.hatenablog.com/","type":"rich","image_url":null,"categories":["Univ.","C\u8a00\u8a9e"],"author_name":"gomi-box","height":"190","version":"1.0","width":"100%","provider_name":"Hatena Blog","blog_title":"\u6bdb\u306e\u306f\u3048\u305f\u3088\u3046\u306a\u3082\u306e","title":"\u7bc4\u56f2\u306b\u53ce\u307e\u308b\u6570\u5b57\u306e\u6570\uff08c\u8a00\u8a9e\u306e\u5834\u5408\uff09","description":"#include <stdio.h> #include <math.h> int compare_int(const int *a,const int *b){ return *b- *a; } int main(){ int i = 0; int j = 0; int k = 0; char buf[1000]; int num[1000]; int flag=0; int w; int max=0; int target=0; while(fgets(buf, 1000,stdin) != NULL){ if(flag == 0){ w = atoi(buf); flag=1; conti\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgomi-box.hatenablog.com%2Fentry%2F20071008%2F1194424859\" title=\"\u7bc4\u56f2\u306b\u53ce\u307e\u308b\u6570\u5b57\u306e\u6570\uff08c\u8a00\u8a9e\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>","published":"2007-10-08 17:40:59"}