You're given N (N ≤ 2000) and N points, then you are given Q (Q ≤ 106), the number of queries, and Q lines Ai, Bi, Ci. For each query you should find how many points are on this line.
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3611 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 163 |
| 2 | adamant | 150 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 144 |
| 5 | errorgorn | 141 |
| 6 | cry | 139 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
Need help
You're given N (N ≤ 2000) and N points, then you are given Q (Q ≤ 106), the number of queries, and Q lines Ai, Bi, Ci. For each query you should find how many points are on this line.
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en2 |
|
EasyCoding | 2016-04-23 07:59:11 | 79 | Tiny change: 'ries, and $Q$ lines $A_i$, $B' - | |
| en1 |
|
EasyCoding | 2016-04-23 07:55:33 | 225 | Initial revision (published) |
| Name |
|---|


