func_code_string: #include <bits/stdc++.h>   using namespace std;   long long n, m, a, b, res = 0, ans = 0;   int main() {     cin >> n >> m;     a = n % m;     b = n / m;     ans = (m - a) * b * (b - 1) / 2 + a * b * (b + 1) / 2;     res = (n - m + 1) * (n - m) / 2;     cout << ans <<     << res;     return 0;   }   