Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main(){
- float t,k1,k2,k3,v;
- float speed,time;
- cin>>t;
- for (int i=0;i<t;i++)
- {
- cin>>k1>>k2>>k3>>v;
- speed=k1*k2*k3*v;
- time=(float)100/speed;
- if (time>9.575)
- {cout<<"NO"<<endl;}
- else
- {cout<<"YES"<<endl;}
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment