tam giác là tác giam

View as PDF

Submit solution

Points: 0.10
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Tính chu vi và diện tích của tam giác khi biết kích thước của 3 cạch

S = sqrt(p(p-a)(p-b)(p-c))

Input Input một dòng duy nhất 3 cạnh của tam giác

Output
Output chu vi và diện tích của tam giác

Examples

Input

3 4 5

Output

CV = 12
S = 6

Comments

Please read the guidelines before commenting.


There are no comments at the moment.