Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
80376 sh25_ganzy 级数求和 C++ 通过 1 MS 248 KB 194 2026-01-04 15:14:48

Tests(5/5):


#include<bits/stdc++.h> using namespace std; int main(){ int k,n=0; cin>>k; double s=0; while(s<=k){ n++; s+=1.0/n; } cout<<n; return 0; }


测评信息: