Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
83846 sh25_zhoumy 【基础题】求和(2) C++ 通过 0 MS 244 KB 187 2026-02-03 11:09:23

Tests(1/1):


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


测评信息: