问题1794--Straight as an Arrow

1794: Straight as an Arrow

[命题人 : ]
时间限制 : 1.000 sec  内存限制 : 64 MB

题目描述

输入

Each test case consists of 6 integers on a line denoting coordinate pairs for three points. A line containing 0 0 0 0 0 0 follows the last test case.

输出

For each test case, print a line of output stating "colinear" or "not colinear" depending on whether or not the points all lie on the same line.

样例输入 Copy

1 1 2 2 3 3
1 1 2 2 3 4
0 0 0 0 0 0

样例输出 Copy

colinear
not colinear