func_code_string: #include <bits/stdc++.h>   using namespace std;   int a[10000], i, t, n, j, x;   int main() {     cin >> t;     while (t--) {       cin >> n;       for (int i = 1; i <= n; i++) {         cin >> x;         if (x <= 2048) a[x]++;       }       j = 1;       while (j < 2048) {         a[j * 2] += a[j] / 2;         a[j] = 0;         j *= 2;       }       if (a[2048] > 0) {         cout <<  YES  << endl;       } else         cout <<  NO  << endl;       a[2048] = 0;     }   }   