func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int t;     cin >> t;     while (t--) {       int k = 0;       string a, b, c;       cin >> a >> b >> c;       for (int i = 0; i < a.size(); i++) {         if (a[i] == c[i] || b[i] == c[i])           k++;         else {           k = -1;           break;         }       }       if (k == a.size())         cout <<  YES  << endl;       else         cout <<  NO  << endl;     }   }   