| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75109 | sh25_zhangjiajia | 级数求和 | C++ | Accepted | 0 MS | 244 KB | 253 | 2025-12-05 15:19:24 |
#include <iostream> using namespace std; int main() { int k; cin >> k; double sum = 0.0; int n = 0; while (sum <= k) { n++; sum += 1.0 / n; } cout << n << endl; return 0; }