{"provider_url":"https://hatena.blog","height":"190","author_name":"inamori","version":"1.0","image_url":null,"blog_title":"inamori\u2019s diary","type":"rich","description":"https://atcoder.jp/contests/abc253/tasks/abc253_aPython\u3067\u3053\u3093\u306a\u98a8\u306b\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 def median(v): w = sorted(v) if len(w) % 2 == 1: return w[len(w)/2] else: return (w[len(w)/2-1] + w[len(w)/2]) * 0.5 def F(a, b, c): return YesNo(median((a, b, c)) == b) Rust\u3067\u3082\u4f3c\u305f\u611f\u3058\u306b\u66f8\u3044\u3066\u307f\u307e\u3059\u3002 \u3053\u306e\u66f8\u304d\u65b9\u3060\u3068\u3001median\u306f\u6574\u6570\u306b\u306a\u308b\u3068\u306f\u9650\u3089\u306a\u3044\u306e\u3067\u3001f64\u3092\u8fd4\u3059\u3053\u3068\u306b\u3057\u307e\u3059\u2026","width":"100%","blog_url":"https://inamori.hateblo.jp/","provider_name":"Hatena Blog","url":"https://inamori.hateblo.jp/entry/2022/07/05/195013","author_url":"https://blog.hatena.ne.jp/inamori/","published":"2022-07-05 19:50:13","categories":[],"title":"AtCoder Beginner Contest 253 A","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2022%2F07%2F05%2F195013\" title=\"AtCoder Beginner Contest 253 A - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}