Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
20635 陶俊宸 倒数和 C++ 解答错误 0 0 MS 260 KB 149 2021-06-19 16:26:12

Tests(0/10):


#include<bits/stdc++.h> long long s,n; double ans; int main(){ scanf("%hd",&s); while(ans<s) ans+=1.0/++n; printf("%hd",n-1); return 0; }


测评信息: