Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150725 hyl 13分苹果 C++ Accepted 1 MS 268 KB 153 2026-03-30 17:06:44

Tests(10/10):


Code:

#include <iostream> using namespace std; int main(){ int ren; cin>>ren; int sum=0; for(int n=1;n<=ren;n++){ sum=sum+n; } cout<<sum; }