func_code_string: #include <bits/stdc++.h>   using namespace std;   int read() {     int nm = 0, f = 1;     char c = getchar();     for (; !isdigit(c); c = getchar())       if (c ==  - ) f = -1;     for (; isdigit(c); c = getchar()) nm = nm * 10 + c -  0 ;     return nm * f;   }   long long n, x, y;   char s[300010];   int main() {     n = read(), x = read(), y = read();     scanf( %s , s + 1);     int len = strlen(s + 1);     s[0] =  ? ;     long long tot = 0;     for (int i = 1; i <= len; i++)       if (s[i] != s[i - 1] && s[i] ==  0 ) tot++;     if (tot == 0) return puts( 0 );     cout << min(tot * y, tot * x - x + y);     return 0;   }   