Need help

Revision en2, by EasyCoding, 2016-04-23 07:59:11

You're given N (N ≤ 2000) and N points, then you are given Q (Q ≤ 106), the number of queries, and next Q lines consist Ai, Bi, Ci. For each query you should find how many points are on this line, i.e. how many j that Ai * Xj + Bi * Yj + Ci = 0.

Tags geometry, help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English EasyCoding 2016-04-23 07:59:11 79 Tiny change: 'ries, and $Q$ lines $A_i$, $B' -
en1 English EasyCoding 2016-04-23 07:55:33 225 Initial revision (published)