OJ-Problems-Source/HDOJ/4969_autoAC.cpp
2016-09-10 11:34:41 +08:00

18 lines
377 B
C++

#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
int v1,v2,d,r;
int main()
{
int T;
cin>>T;
while(T--){
scanf("%d%d%d%d",&v1,&v2,&r,&d);
double ans = r/(double)v1*v2*asin(v1/(double)(v2));
if(ans>d)printf("Why give up treatment\n");
else printf("Wake up to code\n");
}
return 0;
}