func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int sum = n * (n + 1) / 2;     for (int i = n; i > 0; i--) {       sum += (n - i) * (i - 1);     }     cout << sum;   }   