Trollz @ 2020-10-02 21:14:42
大佬帮助一下,谁知道为什么总是uke吗?实在下载数据点测试了也是对的哇
#include <iostream>
using namespace std;
bool up=false;
long long i;
int main(){
double sum=1.0000;
double p=0.0000;
cin>>p;
for(i=1;i++;){
sum=sum+1.000/i;
if(sum>=p){
cout<<i;
return 0;
}
}
return 0;
}
`cpp
by Smile_Cindy @ 2020-10-02 21:15:00
评测机波动。
by int64 @ 2020-10-02 21:15:42
我也是... 还正好是隔一个UKE一个哈哈哈
by 暗ざ之殇 @ 2020-10-02 21:16:16
我怎么总是CE,洛谷IDE上测的没问题啊
by Trollz @ 2020-10-02 21:16:56
@Alpha 什么是评测机波动啊[无助]
by Smile_Cindy @ 2020-10-02 21:18:07
@Trollz 意思是评测机出现了一些问题,过会会自动恢复。
by RBI_GL @ 2020-10-02 21:18:26
@Trollz 洛谷刚刚炸了
by Trollz @ 2020-10-02 21:18:50
@Alpha 啊,就是等一会再提交就行了对吧
by Trollz @ 2020-10-02 21:19:08
@zxh23682 等一会再提交就没问题了是吗
by RBI_GL @ 2020-10-02 21:19:24
@Trollz 是的
by Trollz @ 2020-10-02 21:20:11
@zxh23682 ...大概是多久?