{"provider_name":"Hatena Blog","width":"100%","published":"2019-04-22 13:45:34","height":"190","type":"rich","blog_url":"https://ami-atcoder.hatenablog.com/","description":"irisrune\u3067\u3059\u3002\u6700\u8fd1\u30b3\u30f3\u30c6\u30b9\u30c8\u6642\u9593\u306b\u4e88\u5b9a\u304c\u88ab\u3063\u3066\u3066\u53c2\u52a0\u3067\u304d\u306a\u3044\u306e\u304c\u3088\u304f\u306a\u3044\u3067\u3059\u306d\u3002 atcoder.jp \u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u9762\u306f\u7d50\u8ad6\u304b\u3089\u8a00\u3048\u3070\u7d2f\u7a4d\u548c\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002\u305d\u308c\u3067\u89e3\u3051\u308b\u306f\u305a\u3060\u3063\u305f\u3093\u3067\u3059\u3051\u3069\u306d\u2026 package main import ( \"fmt\" ) func minInt(a, b int) int { if a < b { return a } else { return b } } func main() { var n int var s string fmt.Scan(&n, &s) cumSum := make([]int, n+1) cumSum[0] = 0 for i\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fami-atcoder.hatenablog.com%2Fentry%2F20190422%2F1555908334\" title=\"Tenka1 Programmer Contest 2019 C - Stones \u3092Go\u3067\u89e3\u3053\u3046\u3068\u3057\u305f\u3089\u7f60\u306b\u30cf\u30de\u308a\u307e\u3057\u305f (Go,Kotlin) - \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>","title":"Tenka1 Programmer Contest 2019 C - Stones \u3092Go\u3067\u89e3\u3053\u3046\u3068\u3057\u305f\u3089\u7f60\u306b\u30cf\u30de\u308a\u307e\u3057\u305f (Go,Kotlin)","blog_title":"\u3042\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306eAtCoder\u596e\u95d8\u8a18","provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/a/amifiable/20190422/20190422112806.png","version":"1.0","author_name":"amifiable","author_url":"https://blog.hatena.ne.jp/amifiable/","categories":["\u7af6\u30d7\u30ed","AtCoder","Tenka1 Programmer Contest 2019","300\u70b9","Go","Kotlin"],"url":"https://ami-atcoder.hatenablog.com/entry/20190422/1555908334"}