func_code_string: #include <bits/stdc++.h>   using namespace std;   signed main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     long long TESTS = 1;     while (TESTS--) {       long long n, x, y;       cin >> n >> x >> y;       string s;       cin >> s;       long long cnt = 0;       char c = s[0];       for (auto i : s)         if (i == c)           continue;         else {           if (c ==  0 ) cnt++;           c = i;         }       if (c ==  0 ) cnt++;       if (!cnt) return cout << 0, 0;       if (x < y)         cout << x * (cnt - 1) + y;       else         cout << cnt * y;     }     return 0;   }   