func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, k;     cin >> n >> k;     vector<int> res(n);     for (auto &v : res) cin >> v;     int sum = 0, mini = INT_MAX, index = -1, i;     for (i = 0; i < n; i++) {       if (i < k) {         sum += res[i];         continue;       } else {         if (mini > sum) {           mini = sum;           index = i;         }         sum -= res[i - k];         sum += res[i];       }     }     if (mini > sum) index = i;     mini == INT_MAX ? cout << 1 : cout << (index - k + 1);     return 0;   }   