Language: C++

include <bits/stdc++.h>
#define maxn 100010
typedef long long LL;
const LL mod = 998244353;
LL x[maxn], y[maxn], P[maxn];
int main() {
    LL n;
    scanf("%lld", &n);
    for (int i = 0; i < n; ++i) scanf("%lld%lld", &x[i], &y[i]);
    P[0] = 1;
    for (int i = 1; i <= n; ++i) (P[i] = P[i-1] << 1) %= mod;
    LL ans = P[n] - 1 - n - n*(n-1)/2;
    for (int i = 0; i < n; ++i) {
        for (int j = i+1; j < n; ++j) {
            int cnt = 0;
            for (int k = j+1; k < n; ++k) {
                if ((x[j]-x[i]) * (y[k]-y[j]) == (x[k]-x[j]) * (y[j]-y[i])) ++cnt;
            }
            ((ans -= P[cnt]-1) += mod) %= mod;
        }
    }
    printf("%lld\n", ans);
    return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc:4:7: error: 'LL' does not name a type
    4 | const LL mod = 998244353;
      |       ^~
a.cc:5:1: error: 'LL' does not name a type
    5 | LL x[maxn], y[maxn], P[maxn];
      | ^~
a.cc: In function 'int main()':
a.cc:7:5: error: 'LL' was not declared in this scope
    7 |     LL n;
      |     ^~
a.cc:8:20: error: 'n' was not declared in this scope
    8 |     scanf("%lld", &n);
      |                    ^
a.cc:8:5: error: 'scanf' was not declared in this scope
    8 |     scanf("%lld", &n);
      |     ^~~~~
a.cc:9:52: error: 'x' was not declared in this scope
    9 |     for (int i = 0; i < n; ++i) scanf("%lld%lld", &x[i], &y[i]);
      |                                                    ^
a.cc:9:59: error: 'y' was not declared in this scope
    9 |     for (int i = 0; i < n; ++i) scanf("%lld%lld", &x[i], &y[i]);
      |                                                           ^
a.cc:10:5: error: 'P' was not declared in this scope
   10 |     P[0] = 1;
      |     ^
a.cc:11:58: error: 'mod' was not declared in this scope
   11 |     for (int i = 1; i <= n; ++i) (P[i] = P[i-1] << 1) %= mod;
      |                                                          ^~~
a.cc:12:7: error: expected ';' before 'ans'
   12 |     LL ans = P[n] - 1 - n - n*(n-1)/2;
      |       ^~~~
      |       ;
a.cc:17:22: error: 'x' was not declared in this scope
   17 |                 if ((x[j]-x[i]) * (y[k]-y[j]) == (x[k]-x[j]) * (y[j]-y[i])) ++cnt;
      |                      ^
a.cc:17:36: error: 'y' was not declared in this scope
   17 |                 if ((x[j]-x[i]) * (y[k]-y[j]) == (x[k]-x[j]) * (y[j]-y[i])) ++cnt;
      |                                    ^
a.cc:19:15: error: 'ans' was not declared in this scope
   19 |             ((ans -= P[cnt]-1) += mod) %= mod;
      |               ^~~
a.cc:19:35: error: 'mod' was not declared in this scope
   19 |             ((ans -= P[cnt]-1) += mod) %= mod;
      |                                   ^~~
a.cc:22:22: error: 'ans' was not declared in this scope
   22 |     printf("%lld\n", ans);
      |                      ^~~
a.cc:22:5: error: 'printf' was not declared in this scope
   22 |     printf("%lld\n", ans);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | include <bits/stdc++.h>