| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 71153 | sh25_wangsj | 级数求和 | C++ | Accepted | 0 MS | 244 KB | 204 | 2025-10-24 15:20:20 |
#include<bits/stdc++.h> using namespace std; int main(){ int c; cin>>c; double b=0; int i=0; while(b<=c){ i=i+1; b=b+1.0/i; } cout<<i; return 0; }