func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int tc;     cin >> tc;     while (tc--) {       int test = 0;       int t[1005];       int n, x, nb1 = 0, nb2 = 0, i;       cin >> n >> x;       for (i = 0; i < n; i++) {         cin >> t[i];         if (t[i] % 2 == 0)           nb1++;         else           nb2++;       }       if (nb1 > 0 && x - nb1 > 0 && nb2 >= x - nb1 && (x - nb1) % 2 != 0)         cout <<  Yes  << endl;       else if (nb1 > 0 && x - nb1 + 1 > 0 && nb2 >= x - nb1 + 1 &&                (x - nb1 + 1) % 2 != 0)         cout <<  Yes  << endl;       else if (nb1 > 0 && x - nb1 <= 0 && nb2 >= 1)         cout <<  Yes  << endl;       else if (nb1 == 0 && x % 2 != 0 && nb2 >= x)         cout <<  Yes  << endl;       else         cout <<  No  << endl;     }   }   