lifengsen • 10个月前
using namespace std; int main(void) {
int n; cin>>n; for(int i=1;i<=n;i++)cout<<i*(i*(i+1)/2)<<' '; return 0;
}
评论: