Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137942 岑思烁 13分苹果 C++ Accepted 1 MS 280 KB 157 2025-11-23 11:43:42

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,sum=0; cin>>a; for(int i = 1;i<=a;i++){ sum+=i; } cout<<sum; return 0; }