{"categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","C#"],"published":"2020-09-17 08:00:00","width":"100%","title":"ABC104C - All Green","author_name":"griefworker","provider_name":"Hatena Blog","height":"190","blog_title":"present","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2020%2F09%2F17%2Fabc104c\" title=\"ABC104C - All Green - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","blog_url":"https://tnakamura.hatenablog.com/","url":"https://tnakamura.hatenablog.com/entry/2020/09/17/abc104c","type":"rich","description":"atcoder.jp 1 \u301c D \u306e\u5404\u96e3\u6613\u5ea6\u306e\u554f\u984c\u3092 1 \u554f\u3067\u3082\u89e3\u304f\u304b\u3069\u3046\u304b\u306e\u7d44\u307f\u5408\u308f\u305b\u306f 2D \u901a\u308a\u3001\u3068\u8003\u3048\u3089\u308c\u306a\u304f\u3082\u306a\u3044\u306e\u3067\u3001\u30d3\u30c3\u30c8\u5168\u63a2\u7d22\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002 using System; namespace ABC104C { class Program { static void Main(string[] args) { var DG = Console.ReadLine().Split(' '); var D = int.Parse(DG[0]); var G = int.Parse(DG[1]); var p = new int[D]; var c = new int[D]; for (\u2026","author_url":"https://blog.hatena.ne.jp/griefworker/","image_url":null,"provider_url":"https://hatena.blog"}