Algorithm of 10195 - The Knights Of The Round Table

Problem Description Link
Algorithm:

This is a simple problem you can solve this problem easily . Just follow this stapes

1. first you determine s
    s=(a+b+c)/2
2.then determine the redius of the table
    r=sqrt(s*(s-a)*(s-b)*(s-c))/s
N.B: all variable are double
image

No comments:

Post a Comment

Write your comment - Share Knowledge and Experience