func_code_string: #include <bits/stdc++.h>   const int P = 29;   using namespace std;   inline int read() {     int x = 0, f = 1;     char ch = getchar();     while (ch <  0  || ch >  9 ) {       if (ch ==  - ) f = -1;       ch = getchar();     }     while (ch >=  0  && ch <=  9 ) {       x = x * 10 + ch -  0 ;       ch = getchar();     }     return x * f;   }   int n, k, cnt;   int a[20];   int main() {     n = read();     k = read();     for (int i = 1; i <= n; i++) {       int x = 0, base = 1;       for (int j = 1; j <= k; j++) {         int p = read();         x = x * base + p;         base *= 2;       }       bool flag = 0;       for (int j = 1; j <= cnt; j++)         if (a[j] == x) flag = 1;       if (!flag) a[++cnt] = x;     }     for (int i = 1; i <= cnt; i++)       for (int j = 1; j <= cnt; j++)         if ((a[i] & a[j]) == 0) {           cout <<  YES  << endl;           return 0;         }     cout <<  NO ;     return 0;   }   