[HDU4969]Just a Joke

题目:Just a Joke

传送门:http://acm.hdu.edu.cn/showproblem.php?pid=4969

分析:

 呀,根本不会做,5555~(逃

http://blog.csdn.net/morejarphone/article/details/51766422

http://blog.csdn.net/u011775691/article/details/38691623

http://www.cnblogs.com/andyqsmart/p/4014534.html

代码:

#include <cstdio>
#include <cmath>
int main(){
    int Case;scanf("%d",&Case);
    double v1,v2,R,D;
    for(;Case--;){
        scanf("%lf%lf%lf%lf",&v1,&v2,&R,&D);
        double t=R/v1*(asin(v1/v2));
        if(t*v2>D)
            puts("Why give up treatment");
        else
            puts("Wake up to code");
    }
} 

 

posted @ 2017-04-04 16:16  hjj1871984569  阅读(224)  评论(0编辑  收藏  举报