func_code_string: #include <bits/stdc++.h>   #pragma comment(linker,  /STACK:66777216 )   using namespace std;   int inf = 1e9 + 7;   long long INF = 1e18;   int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }   int main() {     ios_base::sync_with_stdio(false);     int k;     cin >> k;     vector<long long> a;     map<long long, pair<int, int> > sums;     for (int i = 0; i < k; i++) {       int n;       long long sum = 0;       cin >> n;       a.resize(n);       for (int j = 0; j < n; j++) {         cin >> a[j];         sum += a[j];       }       for (int j = 0; j < n; j++) {         if (sums[sum - a[j]] != make_pair(0, 0) &&             sums[sum - a[j]].first != i + 1) {           cout <<  YES  <<   n ;           cout << sums[sum - a[j]].first <<     << sums[sum - a[j]].second                <<   n ;           cout << i + 1 <<     << j + 1;           return 0;         }         sums[sum - a[j]] = make_pair(i + 1, j + 1);       }     }     cout <<  NO ;     return 0;   }   