poor_OIer @ 2022-07-08 21:42:41
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
int x=1;
int ans=0;
int sum=1;
while(x!=n)
{
for(int i=1;i<=x;i++)
ans+=x;
x++;
}
cout<<ans;
return 0;
}
by Anomie @ 2022-07-08 21:55:37
哪里错了啊啊啊哼,哼,哼,啊啊啊啊啊啊啊啊啊啊啊
by Anomie @ 2022-07-08 22:00:07
刚才那个发再见洛谷的大哥都被禁言了,您怎么还没禁言啊(