Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82589 sh25_wanghy 【基础题】求和(2) C++ 通过 0 MS 240 KB 189 2026-01-15 19:37:25

Tests(1/1):


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


测评信息: