2
6
21万
论坛元老
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,x,y,z,n,m; cin>>n; x=0; y=0; z=0; for(;n!=0;) { n=n-1; x=x+1; y=x+y; z=z+y; } cout<<z; return 0; }
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页