func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long mod = 1000000007;   const int N = 5e5;   int main() {     long long n, a, b, c, t;     cin >> n >> a >> b >> c >> t;     long long arr[n + 1];     for (long long i = 1; i <= n; i++) {       cin >> arr[i];     }     long long s = n * a;     if (b >= c) {       cout << s << endl;     } else {       long long q = 1;       long long s2 = 0;       long long q2 = 1;       long long s3 = 0;       for (long long i = 1; i <= n; i++) {         if (arr[i] != t) {           s2 += (t - arr[i]) * c;           q++;         }       }       for (long long i = 1; i <= n; i++) {         arr[i] = a - (t - arr[i]) * b;       }       for (long long i = 1; i <= n; i++) {         s3 += arr[i];       }       cout << s2 + s3;     }   }   