func_code_string: #include <bits/stdc++.h>   using namespace std;   double x[1010], y[1010];   bool vis[1010];   int main() {     int n, cnt = 0;     double x0, y0;     scanf( %d%lf%lf , &n, &x0, &y0);     for (int i = 0; i < n; i++) {       scanf( %lf%lf , &x[i], &y[i]);     }     for (int i = 0; i < n; i++) {       double x1 = x[i], y1 = y[i];       if (vis[i])         continue;       else         cnt++;       vis[i] = 1;       for (int j = 0; j < n; j++) {         if (vis[j]) continue;         if (x1 == x0 && x[j] == x0)           vis[j] = 1;         else if (y1 == y0 && y[j] == y0)           vis[j] = 1;         else if (fabs((y[j] - y0) / (y1 - y0) - (x[j] - x0) / (x1 - x0)) < 1e-9)           vis[j] = 1;       }     }     printf( %d n , cnt);     return 0;   }   