first=leng(b[0],b[1],b[2],b[3]); second=leng(b[2],b[3],b[4],b[5]); third=leng(b[4],b[5],b[0],b[1]); if(first+second>third&&first+third>second&&third+second>first){ l=first+second+third; //求三角形的周长 s=sqrt(0.5*l*(0.5*l-first)*(0.5*l-second)*(0.5*l...
first=leng(b[0],b[1],b[2],b[3]); second=leng(b[2],b[3],b[4],b[5]); third=leng(b[4],b[5],b[0],b[1]); if(first+second>third&&first+third>second&&third+second>first){ l=first+second+third; //求三角形的周长 s=sqrt(0.5*l*(0.5*l-first)*(0.5*l-second)*(0.5*l...