{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperyaudo.hatenablog.com%2Fentry%2F20100730%2F1280495585\" title=\"AOJ 0011 Drawing Lots - \u30da\u30ea\u30e3\u30a6\u30c9\u306e\u65e5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Programming","Algorithm","AOJ"],"author_name":"peryaudo","published":"2010-07-30 22:13:05","image_url":null,"width":"100%","blog_url":"https://peryaudo.hatenablog.com/","version":"1.0","height":"190","title":"AOJ 0011 Drawing Lots","author_url":"https://blog.hatena.ne.jp/peryaudo/","blog_title":"\u30da\u30ea\u30e3\u30a6\u30c9\u306e\u65e5","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://peryaudo.hatenablog.com/entry/20100730/1280495585","type":"rich","description":"\u4eca\u65e5\u306fid:kyuridenamida\u3068\u5ef6\u3005\u3068\u30ea\u30ca\u30ab\u30d5\u30a7\u3067code golf\u3092\u3057\u305f\u308a\u79cb\u8449\u539f\u3092\u307b\u3063\u3064\u304d\u6b69\u3044\u305f\u308a\u3057\u305f\u3002 \u307e\u3060\u3053\u308c\u304b\u3089\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3002\u6771\u4eac\u30bf\u30ef\u30fc\u3068\u304b\u898b\u306b\u884c\u3063\u3066\u3082\u697d\u3057\u304f\u306a\u3044\u3057\u3044\u3063\u305d\u306e\u4e8b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u5408\u5bbf\u3063\u3066\u4e8b\u3067\u3082\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3063\u3066\u8a71\u306b\u306a\u3063\u3066\u308b\u3002\u521d\u671f\u72b6\u614b\u306ev\u30921\u304b\u3089\u306f\u3058\u3081\u308b\u306e\u3092\u5fd8\u308c\u308b\u3063\u3066\u3044\u3046\u3064\u307e\u3089\u306a\u3044\u4e8b\u3067Wrong Answer\u3055\u308c\u305f\u3002 #include <cstdio> #include <vector> #include <algorithm> using namespace std; int main(){ int i, w, a, b; scanf(\"%d\\n%*d\\n\", &w)\u2026"}