Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129415 黄本瀚 级数求和 C++ 通过 100 47 MS 248 KB 180 2024-01-27 08:29:45

Tests(4/4):


#include<bits/stdc++.h> using namespace std; int main(){ int a; int b= 0; double c= 0; cin >>a; while (a>c){ b+= 1; c+=1.0 /b; } cout<<b<<endl; return 0; }


测评信息: