func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, i;     long long sz, ans, x, y;     string s, str =   ;     cin >> n >> x >> y >> s;     str += s[0];     for (i = 1; i < n; i++)       if (s[i - 1] != s[i]) str += s[i];     sz = (long long)str.size();     if (str[0] ==  0 )       sz = (sz >> 1LL) + (sz & 1);     else       sz = sz >> 1LL;     ans = min((sz - 1) * x + y, sz * y);     cout << max(0LL, ans) << endl;     return 0;   }   