ROSECODE 143
Equilateral triangles
Assume a D point inside an ABC equilateral triangle with AD=x, BD=y, CD=z; 0 < x <= y <= z < 100 and x,y,z are all integers.
Let the length of the sides (s) of the triangle be a function of x,y,z: s=f(x,y,z)
Find all such triangles.
Input format: cnt,sum of s's (3 digits after decimal point)
Example: 13,59.831 for 0 < x <= y<= z < 5
Let the length of the sides (s) of the triangle be a function of x,y,z: s=f(x,y,z)
Find all such triangles.
Input format: cnt,sum of s's (3 digits after decimal point)
Example: 13,59.831 for 0 < x <= y<= z < 5