{"published":"2019-06-07 14:52:15","url":"https://ami-atcoder.hatenablog.com/entry/20190607/1559886735","author_url":"https://blog.hatena.ne.jp/amifiable/","author_name":"amifiable","provider_url":"https://hatena.blog","width":"100%","blog_url":"https://ami-atcoder.hatenablog.com/","provider_name":"Hatena Blog","blog_title":"\u3042\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306eAtCoder\u596e\u95d8\u8a18","categories":["\u7af6\u30d7\u30ed","AtCoder","ABC123","D\u554f\u984c","400\u70b9","Python"],"height":"190","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/154149487/1553670776372553","title":"AtCoder ABC 123 D - Cake 123 \u3092Numpy\u3092\u7528\u3044\u3066\u30b9\u30de\u30fc\u30c8\u306b\u89e3\u304d\u305f\u304b\u3063\u305f\u8a71 (Python)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fami-atcoder.hatenablog.com%2Fentry%2F20190607%2F1559886735\" title=\"AtCoder ABC 123 D - Cake 123 \u3092Numpy\u3092\u7528\u3044\u3066\u30b9\u30de\u30fc\u30c8\u306b\u89e3\u304d\u305f\u304b\u3063\u305f\u8a71 (Python) - \u3042\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306eAtCoder\u596e\u95d8\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","description":"irisrune\u3067\u3059\u3002Numpy\u3092\u6709\u52b9\u306b\u4f7f\u3063\u3066\u8a08\u7b97\u6642\u9593\u3092\u77ed\u304f\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u306a\u304b\u306a\u304b\u96e3\u3057\u3044\u3067\u3059\u306d\u3002 \u554f\u984c atcoder.jp \u516c\u5f0f\u89e3\u8aac\u3067\u3082\u89e3\u6cd5\u304c\u8907\u6570\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3069\u3046\u89e3\u304f\u3068\u3057\u3066\u3082\u624b\u6cd5\u306b\u5de5\u592b\u304c\u5fc5\u8981\u3067\u304b\u306a\u308a\u96e3\u3057\u3044\u3067\u3059\u3002AtCoder Problems\u306eDifficulty684\u3057\u304b\u306a\u3044\u3063\u3066\u672c\u5f53\u3067\u3059\u304b\u3002 \u307e\u305f\u3001\u89e3\u8aacAC\u306e\u305f\u3081\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u9762\u306e\u89e3\u8aac\u306f\u3042\u307e\u308a\u884c\u3044\u307e\u305b\u3093\u3002 \u63d0\u51fa1\uff08\u516c\u5f0f\u89e3\u8aac\uff1a\u89e3\u6cd52\uff09 import sys import numpy as np def main(): x, y, z, k = [int(n) for n in input().split()] a = sorted\u2026"}