func_code_string: #include <bits/stdc++.h>   int main() {     char str[120];     gets(str);     int len = strlen(str) - 1;     int i;     int count = 0;     int reversed = 0;     for (i = 0; i < len; i++) {       if (str[i] ==  V  && str[i + 1] ==  K ) {         str[i] =  c ;         str[i + 1] =  c ;         ++count;       }     }     for (i = 0; i < len; i++) {       if ((str[i] ==  V  && str[i + 1] ==  V ) ||           (str[i] ==  K  && str[i + 1] ==  K ))         reversed = 1;     }     printf( %d , count + reversed);     return 0;   }   