| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 19978 | 账号已注销 | 倒数和 | C++ | Time Limit Exceeded | 0 | 1000 MS | 244 KB | 155 | 2021-05-27 20:27:55 |
#include<bits/stdc++.h> using namespace std; int s,ans=1,i=2; int main(){ cin>>s; while(s>ans){ ans+=1/i; i++; } cout<<i-1; return 0; }