{"trustable":false,"prependHtml":"\u003cstyle type\u003d\"text/css\"\u003e\n section pre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n word-break: break-all;\n word-wrap: break-word;\n color: #333;\n background: rgba(255, 255, 255, 0.5);\n border: 1px solid #ccc;\n border-radius: 6px;\n }\n\u003c/style\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027\\\\(\u0027, right: \u0027\\\\)\u0027, display: false},\n {left: \u0027\\\\[\u0027, right: \u0027\\\\]\u0027, display: true}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"Description","value":{"format":"MD","content":"你说的对,但是《\u003cb\u003e考核\u003c/b\u003e》是由\u003cb\u003eACM\u003c/b\u003e自主研发的一款全新开放世界冒险游戏。游戏发生在一个被称作「\u003cb\u003e计算机学院\u003c/b\u003e」的幻想世界,在这里,被选中的人将被授予「\u003cb\u003eOJ账号\u003c/b\u003e」,导引\u003cb\u003e算法\u003c/b\u003e之力。你将扮演一位名为「\u003cb\u003eACMer\u003c/b\u003e」的神秘角色,在自由的编写代码中邂逅性格各异、能力独特的算法,和他们一起\u003cb\u003eWrongAnswer\u003c/b\u003e,找回失散的\u003cb\u003eTimeLimitExceeded\u003c/b\u003e——同时,逐步发掘「\u003cb\u003e现场刷人\u003c/b\u003e」的真相。\n\n读入 n 个 整数的数列 a1,a2,…,an 和正整数 k(1\u003c\u003dk\u003c\u003dn),请输出连续排列的 k 个整数的和的最大值"}},{"title":"Input","value":{"format":"MD","content":"第一行是正整数 n (1\u003c\u003dn\u003c\u003d100000) 和正整数 k(1\u003c\u003dk\u003c\u003dn) 第二行以后的第 1+i(1\u003c\u003di\u003c\u003dn)至最后一行为数列\n\n"}},{"title":"Output","value":{"format":"MD","content":"仅一行,仅包括最大值。"}},{"title":"Sample Input","value":{"format":"MD","content":"5 3\n2 \n5\n-4\n10\n3"}},{"title":"Sample Output","value":{"format":"MD","content":"11"}},{"title":"","value":{"format":"MD","content":"翻译改编自洛谷翻译"}}]}