Search found 17 matches

by Yile
Wed Mar 02, 2005 3:37 pm
Forum: Volume 100 (10000-10099)
Topic: 10002 - Center of Masses
Replies: 59
Views: 26781

Oh, thanks. If you don't tell me this, maybe I will never notice it. I fix it and get AC. Thank you again.
by Yile
Wed Mar 02, 2005 11:57 am
Forum: Volume 100 (10000-10099)
Topic: 10002 - Center of Masses
Replies: 59
Views: 26781

10002

#include<stdio.h> #include<math.h> double getabs(double x) { if(x<0) x*=-1; return x; } double getk(double x1,double y1,double x2,double y2) { if(x1==x2) return 999999999999999.0; else return (y1-y2)/(x1-x2); } double geta(double x1,double y1,double x2,double y2,double x3,double y3) { double k,b,b1...

Go to advanced search