{"categories":["AOJ"],"description":"\u554f\u984c Never Wait for Weights | Aizu Online JudgeN \u500b\u306e\u9802\u70b9\u304c\u3042\u308a, \u5404\u9802\u70b9\u306b\u306f W[i] \u3068\u3044\u3046\u7279\u5fb4\u91cf\u304c\u3042\u308b\u3002\u6b21\u306e\u4e8c\u3064\u306e\u30af\u30a8\u30ea\u304c\u4e0e\u3048\u3089\u308c\u308b\u306e\u3067\u9069\u5207\u306b\u51e6\u7406\u305b\u3088\u3002 W[b] - W[a] = w \u3068\u3044\u3046\u60c5\u5831\u304c\u4e0e\u3048\u3089\u308c\u308b\u3002 a, b \u3092\u4e0e\u3048\u308b\u306e\u3067, \u4eca\u307e\u3067\u306e\u60c5\u5831\u3067 W[b]-W[a] \u304c\u6c42\u3081\u3089\u308c\u308b\u304b\u8abf\u3079\u308b\u3002\u6c42\u3081\u3089\u308c\u308b\u5834\u5408\u306f\u305d\u306e\u5024\u3092\u6c42\u3081, \u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f UNKNOWN \u3068\u66f8\u304f\u3002 \u89e3\u6cd5 \u30c7\u30fc\u30bf\u69cb\u9020\u3092\u30de\u30fc\u30b8\u3059\u308b\u4e00\u822c\u7684\u306a\u30c6\u30af\u3092\u4f7f\u3044\u307e\u3059\u3002W[b]-W[a] \u306e\u5024\u304c\u5206\u304b\u3063\u305f\u3068\u304d, a \u3068 b \u304c\u3059\u3067\u306b\u540c\u3058\u30b0\u30eb\u30fc\u30d7\u306b\u3044\u308b\u306a\u3089\u4f55\u3082\u3057\u307e\u305b\u3093\u304c, \u540c\u3058\u30b0\u30eb\u30fc\u30d7\u306b\u3044\u306a\u3044\u5834\u5408\u2026","version":"1.0","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F05%2F30%2F235203\" title=\"AOJ 1330 Never Wait for Weights - mayoko\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>","author_name":"mayokoex","width":"100%","title":"AOJ 1330 Never Wait for Weights","url":"https://mayokoex.hatenablog.com/entry/2016/05/30/235203","blog_url":"https://mayokoex.hatenablog.com/","type":"rich","published":"2016-05-30 23:52:03","blog_title":"mayoko\u2019s diary","provider_name":"Hatena Blog","image_url":null,"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/mayokoex/"}