{"height":"190","url":"https://sugarknri.hatenablog.com/entry/2017/06/15/040336","categories":[],"published":"2017-06-15 04:03:36","blog_url":"https://sugarknri.hatenablog.com/","version":"1.0","author_name":"sugarknri","description":"\u554f\u984c\u306f\u3053\u3061\u3089 No.504 \u30b2\u30fc\u30e0\u5927\u4f1a(\u30e9\u30f3\u30ad\u30f3\u30b0) - yukicoder\u6700\u521d\u306f1\u4f4d\u3067\u3001\u81ea\u5206\u3088\u308a\u771f\u306b\u5927\u304d\u306a\u30b9\u30b3\u30a2\u304c\u3067\u305f\u3089\u9806\u4f4d\u304c1\u3064\u4e0b\u304c\u308b\u3002 n,s,t,rank; main(){ scanf(\"%d%d\",&n,&s); rank=1; puts(\"1\"); for(int i=1;i<n;i++){ scanf(\"%d\",&t); if(t>s)rank++; printf(\"%d\\n\",rank); } } 1\u756a\u76ee,2\u756a\u76ee\u306e\u5024\u306b\u5bfe\u3057\u3066\u306e\u307f\u7279\u6b8a\u306a\u51e6\u7406\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u305d\u306e\u8fba\u3092main\u7b2c\u4e00\u5f15\u6570\u3092\u4f7f\u3063\u3066\u3044\u3044\u611f\u3058\u306b\u3059\u308b n,s,t;main(i){for(;~scanf(\"%d\",&n);i&&pr\u2026","width":"100%","type":"rich","image_url":null,"author_url":"https://blog.hatena.ne.jp/sugarknri/","blog_title":"\u30e1\u30e2","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2017%2F06%2F15%2F040336\" title=\"yukicoder No.504 \u30b2\u30fc\u30e0\u5927\u4f1a(\u30e9\u30f3\u30ad\u30f3\u30b0) - \u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"yukicoder No.504 \u30b2\u30fc\u30e0\u5927\u4f1a(\u30e9\u30f3\u30ad\u30f3\u30b0)"}