6 4 3 3 1 4 1 5 9
5 6 10
* For $i = 1$, sorting $A_i, A_{i+1}, A_{i+2}, A_{i+3}$ in ascending order yields $1, 1, 3, 4$, where the sum of the first three values is $5$.
* For $i = 2$, sorting $A_i, A_{i+1}, A_{i+2}, A_{i+3}$ in ascending order yields $1, 1, 4, 5$, where the sum of the first three values is $6$.
* For $i = 3$, sorting $A_i, A_{i+1}, A_{i+2}, A_{i+3}$ in ascending order yields $1, 4, 5, 9$, where the sum of the first three values is $10$.10 6 3 12 2 17 11 19 8 4 3 6 20
21 14 15 13 13
{
"problem": {
"name": "Least Elements",
"description": {
"content": "You are given an integer sequence $A = (A_1, \\dots, A_N)$ of length $N$, and integers $M$ and $K$. For each $i = 1, \\dots, N - M + 1$, solve the following independent problem. > Find the sum of the",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc281_e"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given an integer sequence $A = (A_1, \\dots, A_N)$ of length $N$, and integers $M$ and $K$. \nFor each $i = 1, \\dots, N - M + 1$, solve the following independent problem.\n\n> Find the sum of the...",
"is_translate": false,
"language": "English"
}
]
}