Thanks, about 5 of my outputs are .001 less than they should be. Hate these kind of problems.
edit: Got AC, had the height of the triangle stored in a double as sqrt(.75), had to change it to a long double.
Search found 2 matches
- Thu May 03, 2012 1:54 am
- Forum: Volume 102 (10200-10299)
- Topic: 10233 - Dermuba Triangle
- Replies: 10
- Views: 8194
- Wed May 02, 2012 10:14 am
- Forum: Volume 102 (10200-10299)
- Topic: 10233 - Dermuba Triangle
- Replies: 10
- Views: 8194
Re: 10233 - Dermuba Triangle
Does anyone have some sample input for this problem, my program has worked for everything I tried and I'm kind of convinced I'm getting WA because of some floating point error or something.