func_code_string: #include <bits/stdc++.h>   int64_t f(int64_t a, int64_t b, int64_t c, int64_t l) {     int64_t total = 0;     for (int64_t la = 0ll; la <= l; ++la) {       int64_t x = std::min(a - b - c + la, l - la);       if (x >= 0) total += (x + 1) * (x + 2) / 2ll;     }     return total;   }   int main() {     int64_t a, b, c, l;     std::cin >> a >> b >> c >> l;     int64_t total = (l + 1) * (l + 2) * (l + 3) / 6ll;     total -= f(a, b, c, l);     total -= f(b, a, c, l);     total -= f(c, a, b, l);     std::cout << total <<   n ;     return 0;   }   