untitle

public
yousefkarem91 Sep 12, 2024 Never 31
Clone
C++ past.cpp 17 lines (16 loc) | 257 Bytes
1
#include <iostream>
2
using namespace std;
3
4
int main() {
5
double V,T,S,D,hittime;
6
cin>>V>>T>>S>>D;
7
hittime=D/V;
8
if(hittime<T || hittime>S)
9
{
10
cout<<"Yes";
11
}
12
else
13
{
14
cout<<"No";
15
}
16
return 0;
17
}