| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 20678 | 账号已注销 | 倒数和 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 155 | 2021-06-19 19:44:59 |
#include<bits/stdc++.h> using namespace std; double s,ans=0,i; int main(){ cin>>s; for(i=1;ans<=s;i++){ ans+=1/i; } cout<<i-2; return 0; }