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