Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106084 胡海峰老师 累加器 C++ Accepted 0 MS 268 KB 155 2025-01-15 12:57:53

Tests(1/1):


Code:

#include <iostream> using namespace std; int main(){ int s=0; int i=1; while(i<=100) { s = s + i; i++; } cout<<s; return 0; }