func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, c;     cin >> n >> c;     int a[n];     int cnt = 0;     vector<int> b;     for (int i = 0; i < n; i++) cin >> a[i];     for (int i = 1; i < n; i++) {       if (abs(a[i] - a[i - 1]) <= c)         cnt++;       else {         cnt = 0;       }     }     cout << cnt + 1;     return 0;   }   