| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73184 | sh25_shenpy | 【基础题】求和(2) | C++ | 通过 | 0 MS | 248 KB | 196 | 2025-11-07 18:01:38 |
#include <bits/stdc++.h> using namespace std; int main( ) { double a=0; for(int i=1;i<=100;i++) { a+=(1.0*1/i); } cout<<fixed<<setprecision(3)<<a; return 0; }