LZT • 3小时前
using namespace std;
int main() {
int n,s=0; cin>>n; for (int m=1;m<=n;m++) { s+=m } cout<<s; return 0;
}
评论:
请先登录,才能进行评论