bob.cpp:59:2: error: stray '#' in program
59 | }#include <bits/stdc++.h>
| ^
bob.cpp:59:3: error: 'include' does not name a type
59 | }#include <bits/stdc++.h>
| ^~~~~~~
bob.cpp:63:11: error: redefinition of 'const long long int N'
63 | const int N = 1e3 + 9;
| ^
bob.cpp:5:11: note: 'const long long int N' previously defined here
5 | const int N = 1e3 + 9;
| ^
bob.cpp:64:11: error: redefinition of 'const long long int oo'
64 | const int oo = 1e10;
| ^~
bob.cpp:6:11: note: 'const long long int oo' previously defined here
6 | const int oo = 1e10;
| ^~
bob.cpp:65:5: error: redefinition of 'long long int n'
65 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:7:5: note: 'long long int n' previously declared here
7 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:65:7: error: redefinition of 'long long int m'
65 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:7:7: note: 'long long int m' previously declared here
7 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:65:9: error: redefinition of 'long long int a [1009][1009]'
65 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:7:9: note: 'long long int a [1009][1009]' previously declared here
7 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:65:17: error: redefinition of 'long long int high [1009][1009]'
65 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^~~~
bob.cpp:7:17: note: 'long long int high [1009][1009]' previously declared here
7 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^~~~
bob.cpp:65:28: error: redefinition of 'long long int l [1009]'
65 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:7:28: note: 'long long int l [1009]' previously declared here
7 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:65:33: error: redefinition of 'long long int r [1009]'
65 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:7:33: note: 'long long int r [1009]' previously declared here
7 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^
bob.cpp:65:38: error: redefinition of 'long long int res'
65 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^~~
bob.cpp:7:38: note: 'long long int res' previously defined here
7 | int n,m,a[N][N],high[N][N],l[N],r[N],res = 0;
| ^~~
bob.cpp:66:6: error: redefinition of 'void solve(long long int*, long long int*, bool)'
66 | void solve(int a[],int h[],bool kt)
| ^~~~~
bob.cpp:8:6: note: 'void solve(long long int*, long long int*, bool)' previously defined here
8 | void solve(int a[],int h[],bool kt)
| ^~~~~
bob.cpp:100:8: error: redefinition of 'int main()'
100 | signed main()
| ^~~~
bob.cpp:42:8: note: 'int main()' previously defined here
42 | signed main()
| ^~~~