Z2
#include <iostream>
using namespace std;
int main() {
int a,b;
a=1;
for (int i=2; i<=14; i++)
{
b=1;
for (int j=2; j<=i; j++)
{
b*=j;
}
a+=i*b;
cout << i << ": " << a << endl;
}
return 0;
}INFO