func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);     srand(time(NULL));     ;     long long t = 1;     while (t--) {       long long n;       cin >> n;       long long a[n], b[n];       for (long long i = 0; i < n; i++) cin >> a[i];       multiset<long long> s;       for (long long i = 0; i < n; i++) cin >> b[i], s.insert(b[i]);       vector<long long> c(n);       for (long long i = 0; i < n; i++) {         multiset<long long>::iterator it = s.begin();         long long ans = (a[i] + *it) % n, num = *it;         it = s.lower_bound(n - a[i]);         if (it != s.end() && (a[i] + *it) % n < ans) {           ans = (a[i] + *it) % n;           num = *it;         }         c[i] = ans;         s.erase(s.find(num));       }       for (long long i = 0; i < n; i++) cout << c[i] <<    ;       cout <<   n ;     }   }   