{"title":"\u5272\u308a\u52d8 [ICPC JAG \u6a21\u64ec\u56fd\u5185\u4e88\u9078 2019 A]","height":"190","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"url":"https://blog.hamayanhamayan.com/entry/2019/07/02/063519","version":"1.0","provider_url":"https://hatena.blog","author_name":"hamayanhamayan","type":"rich","published":"2019-07-02 06:35:19","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://blog.hamayanhamayan.com/","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F07%2F02%2F063519\" title=\"\u5272\u308a\u52d8 [ICPC JAG \u6a21\u64ec\u56fd\u5185\u4e88\u9078 2019 A] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u554f\u984c\u3068\u5165\u51fa\u529b \u89e3\u8aac \u305d\u308c\u305e\u308c\u304c\u6255\u3046\u3079\u304d\u91d1\u984d\u306f\u3001A[i]\u5186\u304bM/N\u5186\u306e\u3069\u3061\u3089\u304b\u5b89\u3044\u65b9\u306a\u306e\u3067\u3001 \u305d\u306e\u7dcf\u548c\u3092\u7b54\u3048\u308b\u3068\u7b54\u3048\u3002 int N, M, A[101]; //--------------------------------------------------------------------------------------------------- void solve() { int ans = 0; rep(i, 0, N) ans += min(A[i], M / N); cout << ans << endl; } //------------------------------\u2026","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093"}