摘要: 该题用的知识是:如果点在三角形内,则这个点为顶点的三个角之和为360度。#include<stdio.h>#include<stdlib.h>#include<math.h>double x1,Y1,x2,y2,x3,y3,x,y;double length( double a1,double b1,double a2,double b2 ){ return ( a1-a2 )*( a1-a2 )+( b1-b2 )*( b1-b2 ) ; }double area( double a1,double b1,double a2,double b2,doubl 阅读全文
posted @ 2011-11-20 20:46 wutaoKeen 阅读(263) 评论(0) 推荐(0)