#include<iostream>
#include<math.h>
using namespace std;
struct punct
{
float x,y;
}A,B,C;
float dist(punct A, punct B)
{
return sqrt((A.x-B.x)*(A.x-B.x)+(A.y-B.y)*(A.y-B.y));
}
void citire(punct &A)
{
cin>>A.x>>A.y;
}
int main()
{
citire(A);
citire(B);
citire(C);
float a,b,c;
a=dist(B,C);
b=dist(A,C);
c=dist(A,B);
if(a==b+c || c==a+b || b==c+a)
cout<<"coliniare";
else cout<<"nu";
}
|