Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126907 枫原万叶·原神·米哈游 计算数列和 C++ 编译错误 0 0 MS 0 KB 173 2024-01-24 17:26:12

Tests(0/0):


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


测评信息: