1. 首页
  2. 编程语言
  3. Java
  4. 判断N点中是否存在三个点共线

判断N点中是否存在三个点共线

上传者: 2019-02-26 17:57:32上传 JAVA文件 1.5KB 热度 62次
题目描述 Given points on a 2D plane, judge whether there're three points that locate on the same line. 输入格式 The number of test cases T(1≤T≤10) appears in the first line of input. Each test case begins with the number of points N(1≤N≤100). The following N lines describe the coordinates (xi,yi) of each
用户评论