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