Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
346637 梁睿煊 【C1-3】求和 C++ 解答错误 66 3 MS 244 KB 150 2025-09-07 18:12:33

Tests(2/3):


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


测评信息: