http://uva.onlinejudge.org/external/103/10347.html
Use the following formulas ::
area = (4*sqrt(o*sqrt( o*(o-m1)*(o-m2)*(o-m3) ) ))/3
o = (m1+m2+m3)/2;
do check for invalid triangle. and printf -1.000 for that.
Posted by
fkrafi
http://uva.onlinejudge.org/external/103/10347.html
Use the following formulas ::
area = (4*sqrt(o*sqrt( o*(o-m1)*(o-m2)*(o-m3) ) ))/3
o = (m1+m2+m3)/2;
do check for invalid triangle. and printf -1.000 for that.
Hi! I'm Md Fasihul Kabir Rafi from Bangladesh, studying in Ahsanullah University of Science & Technology in Computer Science & Engineering Department. This is my personal blog. I want to share my experince (Though I don't know anything) with all of you.
I will constantly gonna post lost of helpful and interesting things for you. So please keep visiting my blog and also visite my website. If you want to email me then mail me at the following mail address, I will get touch with you ASAP.
Website : www.aboutrafi.net23.net
Email : blog@aboutrafi.net23.net
Copyright 2010 - Fasihul Kabir Rafi
|
free web counter |
0 comments:
Post a Comment