Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
80543 sh25_wangsj 【基础题】求和(2) C++ 通过 0 MS 240 KB 207 2026-01-04 15:21:22

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { double s=0.000000; for(double i=1.00;i<=100.00;i++) { s+=1.00/i; } cout<<fixed<<setprecision(3)<<s; return 0; }


测评信息: