Search found 19 matches

by Gigi's Baby
Tue Feb 03, 2004 2:25 pm
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 35963

You can compute it directly.
C(n,k)=(n-k+1)/k * (n-k+2)/(k-1) * (n-k+3)/(k-2) ...
by Gigi's Baby
Fri Jan 30, 2004 7:40 pm
Forum: Algorithms
Topic: How to calculate the distance between 2 segments
Replies: 7
Views: 1634

If the segments are in the 3D space.
How to do ?
by Gigi's Baby
Fri Jan 30, 2004 7:28 pm
Forum: Other words
Topic: Editor for the Finals
Replies: 7
Views: 1976

Hi, All. :P

What a pity we can't use Kylix in final...
But I used to make Kylix3 work in Redhat9.
by Gigi's Baby
Thu May 02, 2002 5:53 am
Forum: Volume 1 (100-199)
Topic: 143 - Orchard Trees
Replies: 90
Views: 14355

My Program got WA. Why? Could you help me?

#include<fstream.h> #include<math.h> double err=1e-6; double com_s(double x1,double y1,double x2,double y2,double x3,double y3) {return(fabs(x1*y2+x2*y3+x3*y1-y1*x2-y2*x3-y3*x1)/2); } void main() {double x[3],y[3]; double tots,s1,s2,s3; int i,j,tot; for( ; ; ) {cin>>x[0]>>y[0]>>x[1]>>y[1]>>x[2]>>y[2...

Go to advanced search