func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long N = 1e5 + 5;   const long long mod = 1e9 + 7;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     long long n;     cin >> n;     long long a[n], b[n];     for (long long i = 0; i < n; i++) cin >> a[i];     for (long long i = 0; i < n; i++) cin >> b[i];     sort(a, a + n, greater<long long>());     sort(b, b + n, greater<long long>());     long long i = 0, j = 0;     long long v1 = 0, v2 = 0;     for (long long c = 0; c < 2 * n; c++) {       long long op1 = (i == n ? 0 : a[i]);       long long op2 = (j == n ? 0 : b[j]);       if (op1 >= op2) {         i++;         if (c % 2 == 0) v1 += op1;       } else {         j++;         if (c & 1) v2 += op2;       }     }     cout << v1 - v2;   }   