| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 77621 | sh25_wuyy | 级数求和 | C++ | Accepted | 0 MS | 240 KB | 178 | 2025-12-26 14:33:25 |
#include <iostream> using namespace std; int main() { int k,n=0; float sn=0; cin>>k; while(sn<=k){ n+=1; sn+=1.0/n; } cout<<n; return 0; }