func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, m, c;     cin >> n >> m >> c;     vector<int> A(n), B(m);     for (auto &a : A) cin >> a;     for (auto &b : B) cin >> b;     int i = 0, x = 0;     for (int i = 0; i < n; ++i) {       if (i < m) x = (x + B[i]) % c;       if (i > n - m) x = (x - B[i - n + m - 1] + c) % c;       A[i] = (A[i] + x) % c;     }     for (auto a : A) cout << a <<    ;     return 0;   }   