func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     string a;     cin >> a;     char b[101];     int k = 0;     for (int i = 0; i < a.length() - 1; ++i) {       if (a[i] != a[i + 1] || a[i] !=  / ) {         b[k] = a[i];         ++k;       }     }     if ((k == 0) || (a[a.length() - 1] !=  / )) {       b[k] = a[a.length() - 1];       ++k;     }     for (int i = 0; i < k; ++i) cout << b[i];     return 0;   }   