func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int l = 8 * n + 1;     double m = sqrt(l);     int k = sqrt(l);     if (m == k)       cout <<  YES  << endl;     else       cout <<  NO  << endl;   }   