Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148562 张晓冉 13分苹果 C++ Accepted 0 MS 268 KB 166 2026-02-25 17:51:34

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int s = 0; for(int i = 1;i <= n;i++){ s += i; } cout<<s; }