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