Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
128492 广州市第六中学实名上网关晓泽 不等式 C++ 通过 100 0 MS 248 KB 179 2024-01-25 17:25:34

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int m,n;double cnt; int main(){ cin>>m; n=1; while(cnt<m){ cnt+=(double)1/n; n++; } cout<<n-1<<endl; return 0; }


测评信息: