ÀÂÒ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

677. Triangle inside the circle is located

Time Limit: 1 seconds
Memory Limit:1000KB
Points:2
View Problem Statistics Submit Problem added Undefined

Triangle inside the circle is located.

Is assigned triangle by its apexes (x1; y1), (x2; y2), (x3; y3) and the circle with its radius of R and by center (x0; y0). To determine is located triangle inside the circle.

 

Entrance data

Coordinate of the first apex.

Coordinates of the second apex.

Coordinates third of apex.

Radius of circle.

Coordinates of the center of circle.

 

Target data

1- triangle inside the circle.

0 - triangle not inside the circle.

 

Entrance data

1  1

-1 -1

 1 -1

 4

 0 0

Target data

1

 

The author: Devyatkova Elya

 

 

 

 

 

 


View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
631. Transposition elements 677. 1068. Uravnenie 1074. Uravnenie2 662. Vremena goda
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.358 sec.
© Copyright VSTU, AVT, Nosov D.A.