SGU 144 — Meeting

Posted on 五月 25th, 2008.

只说一句:图像法解决概率问题真好用.
公式见程序.

{
SGU 144; Meeting
- sqybi’s code
- Maths
}
//for my winsty
program sgu144_sqybi;
  var
    x, y, z: double;

  begin
    readln(x, y, z);
    writeln((1-sqr((y-x)*60-z)/sqr((y-x)*60)):0:7);
  end.

阅读(83 次)

Make a Comment

Make A Comment: ( None so far )

blockquote and a tags work here.

Liked it here?
Why not try sites on the blogroll...