| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 48499 | 石利伟 | 倒数和 | C++ | Wrong Answer | 80 | 3 MS | 248 KB | 193 | 2022-07-15 22:15:51 |
#include<bits/stdc++.h> using namespace std; int main(){ double s,coun=1; cin>>s; for(double n=2;;n++){ coun+=1.0/n; if(coun>s){ cout<<n; return 0; } } return 0; }