{"published":"2017-01-31 00:46:44","description":"\u554f\u984c\u306f\u3053\u3061\u3089 No.477 MVP - yukicoder\uff08\u300cN\u4eba\u304c\u9078\u6319\u6a29\u3092\u6301\u3063\u3066\u3044\u308b\u6642\u3001\u4e0a\u4f4dK\u4f4d\u4ee5\u5185\u306b\u5165\u308b\u306b\u306f\u4f55\u7968\u7372\u308c\u3070\u3088\u3044\u304b\u300d\u3068\u3044\u3046\u554f\u984c\u3068\u540c\u5024\uff09 \u300c\u4e0a\u4f4dK\u4f4d\u4ee5\u5185\u306b\u5165\u308b\u300d\u21d4\u300c\u81ea\u5206\u3088\u308a\u4e0a\u306bK\u4eba\u4ee5\u4e0a\u3044\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u306f\u306a\u3044\u300d\u306a\u306e\u3067\u3001N/(K+1)\u3088\u308a\u771f\u306b\u5927\u304d\u306a\u30c0\u30e1\u30fc\u30b8\u3092\u4e0e\u3048\u308c\u3070\u3088\u3044 N/(K+1)\u3088\u308a\u771f\u306b\u5927\u304d\u306a\u6574\u6570\u5024\u306ffloor(N/(K+1))+1\u3067\u4e0e\u3048\u3089\u308c\u308b\u306e\u3067 int main(){ long N,K; scanf(\"%ld%ld\",&N,&K); printf(\"%ld\",N/(K+1)+1); return 0; } K+1\u306f-~K\u306a\u306e\u3067N/(K+1)\u306f-N/~K\u3068\u306a\u308b long N,K\u2026","type":"rich","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2017%2F01%2F31%2F004644\" title=\"yukicoder No.477 MVP - \u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/sugarknri/","blog_title":"\u30e1\u30e2","height":"190","author_name":"sugarknri","version":"1.0","provider_url":"https://hatena.blog","width":"100%","title":"yukicoder No.477 MVP","url":"https://sugarknri.hatenablog.com/entry/2017/01/31/004644","blog_url":"https://sugarknri.hatenablog.com/"}