func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long t;     cin >> t;     long long arr[t], sum = 0;     for (int i = 0; i < t; ++i) {       cin >> arr[i];       sum += arr[i];     }     if (sum != 0) {       cout <<  YES  << endl;       cout << 1 << endl;       cout << 1 <<     << t << endl;       return 0;     }     if (t == 1) {       if (arr[0] != 0) {         cout <<  YES  << endl;         cout << 1 << endl;         cout << 1 << endl;       } else         cout <<  NO  << endl;     } else {       for (int i = 0; i < t; i++) {         sum += arr[i];         if (sum != 0) {           cout <<  YES  << endl;           cout << 2 << endl;           cout << 1 <<     << i + 1 << endl;           cout << i + 2 <<     << t << endl;           return 0;         }       }       cout <<  NO  << endl;     }     return 0;   }   