文章

29

粉丝

0

获赞

52

访问

3.5k

头像
疯狂的小Car 题解:c++
P1128
发布于2026年1月20日 15:16
阅读数 108

#include <bits/stdc++.h>
using namespace std;

int main()
{
    double S,Vcar,Vman,Wait;
    while(cin >> S >> Vcar >> Vman >> Wait){
        if((S/Vcar + Wait) < S/Vman)
            cout << "YES" << endl;
        else
            cout << "NO" << endl;
    
    }
    return 0;
}

 

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发