func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long n, a, b, c(0);     cin >> n >> a >> b;     string s;     cin >> s;     for (long long i = 0; i < n;) {       if (s[i] ==  0 ) {         while (s[i] ==  0 ) i++;         c++;       } else         i++;     }     if (c == 0) return cout << 0, 0;     cout << (c - 1) * min(a, b) + b;     return 0;   }   