func_code_string: #include <bits/stdc++.h>   using namespace std;   template <typename a>   void SWAP(a &b, a &c) {     a d = b;     b = c;     c = d;   }   long long power(long long a, long long b) {     long long result = 1;     while (b) {       if (b & 1) result = a * result;       a *= a;       b >>= 1;     }     return result;   }   long long gcd(long long a, long long b) {     while (b) {       a = a % b;       SWAP(a, b);     }     return a;   }   long long lcm(long long a, long long b) { return (a * (b / gcd(a, b))); }   int main() {     long long n, k;     scanf( %lld %lld , &n, &k);     long long h[n];     long long sum = 0, ans = LLONG_MAX, index = 1;     for (long long i = 0; i < n; i++) {       scanf( %lld , &h[i]);       sum += h[i];       if (i + 1 >= k) {         if (ans > sum) {           index = i - k + 2;           ans = sum;         }         sum -= h[i - k + 1];       }     }     printf( %lld n , (index));     return 0;   }   