Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126659 就这? 求数的总和 C++ 通过 100 0 MS 240 KB 162 2024-01-24 16:52:42

Tests(2/2):


#include<bits/stdc++.h>> using namespace std; int main() { int a,b,cnt=0; cin>>a; while(a!=0) { cnt+=a; cin>>a; } cout<<cnt<<endl; return 0; }//B


测评信息: