func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(0);     long long mn, mx, n, m;     cin >> n >> m;     mx = n - m;     mx++;     mx = (mx * (mx - 1)) / 2;     mn = n / m;     long long temp = n / m;     if (n % m != 0) {       mn = (n % m) * ((mn * (mn + 1)) / 2);       m -= (n % m);       mn += m * ((temp * (temp - 1)) / 2);     } else       mn = m * ((temp * (temp - 1)) / 2);     cout << mn <<     << mx << endl;     return 0;   }   