雕刻时光

just do it……nothing impossible
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

几何概率——SGU144 Meeting

Posted on 2011-04-18 22:05  huhuuu  阅读(175)  评论(0编辑  收藏  举报
View Code
#include<stdio.h>

int main()
{
int x,y;
double z;
scanf(
"%d%d%lf",&x,&y,&z);

double t=(y-x)*60;
t
=(t-z)*(t-z)*1.0/t/t;
printf(
"%.7lf\n",1-t);
}