Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82467 sh25_fengyn 【基础题】求和(2) C++ 通过 0 MS 244 KB 175 2026-01-14 16:40:46

Tests(1/1):


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


测评信息: