func_code_string: #include <bits/stdc++.h>   using namespace std;   long long gcd(long long a, long long b) {     if (b == 0) return a;     return gcd(b, a % b);   }   string toBin(long long a) {     string res =   ;     while (a) {       res += char((a & 1) +  0 );       a >>= 1;     }     reverse(res.begin(), res.end());     return res;   }   const int mod = 1e9 + 7;   long long expo(long long base, long long pow) {     long long ans = 1;     while (pow != 0) {       if (pow & 1 == 1) {         ans = ans * base;         ans = ans % mod;       }       base *= base;       base %= mod;       pow /= 2;     }     return ans;   }   long long inv(long long x) { return expo(x, mod - 2); }   double pi = 3.141592653589793238462643;   double error = 0.0000001;   const int M = 100001;   int main() {     int k, a, b, v;     cin >> k >> a >> b >> v;     int tot = 0;     int box = 0;     while (true) {       int sect = min(b + 1, k);       b -= (sect - 1);       tot += sect * v;       box++;       if (tot >= a) break;     }     cout << box;   }   