#40655: __求救


yp11251156@yphs.tp.edu.tw (908-36許安荀)


#include<bits/stdc++.h>
using namespace std;
int main()
{
long long a,b=0,m=0,n=1;
while(cin>>a)
{
      for(int i=1;i<=50;i++)
      {n+=m;
      b+=n;
      m+=a;}
      cout<<b<<endl;
      b=0;
      m=0;
      n=1;}
 
 
 
}
求幫哪裡錯