func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     vector<int> grundies;     grundies.push_back(0);     for (int i = 1; i <= 60; i++) {       long long accum = 0;       long long add = 0;       while (accum < i) {         accum += add;         add++;       }       if (accum > i) {         add--;         accum -= add;       }       add--;       grundies.push_back(add);     }     long long numPiles;     cin >> numPiles;     long long finalState = 0;     for (long long i = 0; i < numPiles; i++) {       long long pile;       cin >> pile;       finalState = finalState ^ grundies[pile];     }     if (!finalState) cout <<  YES  << endl;     if (finalState) cout <<  NO  << endl;     return 0;   }   