Comments
|
you mean like USACO?
- -! I think it will lose a lot of fun of algorithm competition. but this still a good idea. Every man has his hobbyhorse. |
|
0
Satyr!
May be I pressed but it didn't work,so I pressed several times. - -! |
|
0
I use Firefox。
P.S. I'm not a girl.- -! |
|
0
- -!
Why there are so many reply by me. P.S. wow,your photo is a cat.My ID is a cat too(cat=mao). |
|
0
I think the standard libraries about ptLineDist is not good;
this is the ptLineDist source code; ptLineDistSq (double X1, double Y1,double projlenSq = dotprod * dotprod / (X2 * X2 + Y2 * Y2);double lenSq = PX * PX + PY * PY - projlenSq;if (lenSq < 0) {lenSq = 0;return lenSq;public static double ptLineDist (double X1, double Y1,return Math.sqrt(ptLineDistSq(X1, Y1, X2, Y2, PX, PY));ptLineDistSq java stander use dot-product to calculate the dist.(X2 * X2 + Y2 * Y2) is x^2;projlenSq could be make a flat error,and make lenSq could be very small,even to zero. |
|
0
I think the standard libraries about ptLineDist is not good;
this is the ptLineDist source code; ptLineDistSq (double X1, double Y1,double projlenSq = dotprod * dotprod / (X2 * X2 + Y2 * Y2);double lenSq = PX * PX + PY * PY - projlenSq;if (lenSq < 0) {lenSq = 0;return lenSq;public static double ptLineDist (double X1, double Y1,return Math.sqrt(ptLineDistSq(X1, Y1, X2, Y2, PX, PY));ptLineDistSq java stander use dot-product to calculate the dist.(X2 * X2 + Y2 * Y2) is x^2;projlenSq could be make a flat error,and make lenSq could be very small,even to zero. |
|
0
I think the standard libraries about ptLineDist is not good;
this is the ptLineDist source code; ptLineDistSq (double X1, double Y1,double projlenSq = dotprod * dotprod / (X2 * X2 + Y2 * Y2);double lenSq = PX * PX + PY * PY - projlenSq;if (lenSq < 0) {lenSq = 0;return lenSq;public static double ptLineDist (double X1, double Y1,return Math.sqrt(ptLineDistSq(X1, Y1, X2, Y2, PX, PY));ptLineDistSq java stander use dot-product to calculate the dist.(X2 * X2 + Y2 * Y2) is x^2;projlenSq could be make a flat error,and make lenSq could be very small,even to zero. |
|
0
I think the standard libraries about ptLineDist is not good;
this is the ptLineDist source code; ptLineDistSq (double X1, double Y1,double projlenSq = dotprod * dotprod / (X2 * X2 + Y2 * Y2);double lenSq = PX * PX + PY * PY - projlenSq;if (lenSq < 0) {lenSq = 0;return lenSq;public static double ptLineDist (double X1, double Y1,return Math.sqrt(ptLineDistSq(X1, Y1, X2, Y2, PX, PY));ptLineDistSq java stander use dot-product to calculate the dist.(X2 * X2 + Y2 * Y2) is x^2;projlenSq could be make a flat error,and make lenSq could be very small,even to zero. |
|
+6
I think the standard libraries about ptLineDist is not good;
this is the ptLineDist source code; ptLineDistSq (double X1, double Y1,double projlenSq = dotprod * dotprod / (X2 * X2 + Y2 * Y2);double lenSq = PX * PX + PY * PY - projlenSq;if (lenSq < 0) {lenSq = 0;return lenSq;public static double ptLineDist (double X1, double Y1,return Math.sqrt(ptLineDistSq(X1, Y1, X2, Y2, PX, PY));ptLineDistSq java stander use dot-product to calculate the dist.(X2 * X2 + Y2 * Y2) is x^2;projlenSq could be make a flat error,and make lenSq could be very small,even to zero. |
|
+3
I think the standard libraries about ptLineDist is not good;
this is the ptLineDist source code; ptLineDistSq (double X1, double Y1,double projlenSq = dotprod * dotprod / (X2 * X2 + Y2 * Y2);double lenSq = PX * PX + PY * PY - projlenSq;if (lenSq < 0) {lenSq = 0;return lenSq;public static double ptLineDist (double X1, double Y1,return Math.sqrt(ptLineDistSq(X1, Y1, X2, Y2, PX, PY));ptLineDistSq java stander use dot-product to calculate the dist.(X2 * X2 + Y2 * Y2) is x^2;projlenSq could be make a flat error,and make lenSq could be very small,even to zero. |
|
+3
I think the standard libraries about ptLineDist is not good;
this is the ptLineDist source code; ptLineDistSq (double X1, double Y1,double projlenSq = dotprod * dotprod / (X2 * X2 + Y2 * Y2);double lenSq = PX * PX + PY * PY - projlenSq;if (lenSq < 0) {lenSq = 0;return lenSq;public static double ptLineDist (double X1, double Y1,return Math.sqrt(ptLineDistSq(X1, Y1, X2, Y2, PX, PY));ptLineDistSq java stander use dot-product to calculate the dist.(X2 * X2 + Y2 * Y2) is x^2;projlenSq could be make a flat error,and make lenSq could be very small,even to zero. |
|
+2
I think this website would better if it own a forum.
|
|
0
I read you ID in topcoder.
You are a red man. I want to study abroad in your school. Can you introduce me? aha. It just a joke,but I really dream to study abroad in your school. |



