Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
329878 小林老师 【C2-8】多个数的和 C++ 通过 100 3 MS 248 KB 161 2025-07-08 15:41:42

Tests(1/1):


#include <iostream> using namespace std; int main(){ int n,s=0; while(1){ cin>>n; s+=n; if(n==0){ break; } } cout<<s; return 0; }


测评信息: