sure.cpp:5:12: error: two or more data types in declaration of 'a'
5 | #define db double float
| ^~~~~~
sure.cpp:18:1: note: in expansion of macro 'db'
18 | db a[MAXN], b[MAXN];
| ^~
sure.cpp:5:12: error: two or more data types in declaration of 'b'
5 | #define db double float
| ^~~~~~
sure.cpp:18:1: note: in expansion of macro 'db'
18 | db a[MAXN], b[MAXN];
| ^~
sure.cpp: In function 'void solve()':
sure.cpp:23:16: error: 'a' was not declared in this scope
23 | cin >> a[i] >> b[i];
| ^
sure.cpp:23:24: error: 'b' was not declared in this scope
23 | cin >> a[i] >> b[i];
| ^
sure.cpp:25:10: error: 'a' was not declared in this scope
25 | sort(a+1,a+n+1, greater<db>());
| ^
sure.cpp:5:12: error: two or more data types in declaration of 'type name'
5 | #define db double float
| ^~~~~~
sure.cpp:25:29: note: in expansion of macro 'db'
25 | sort(a+1,a+n+1, greater<db>());
| ^~
sure.cpp:25:31: error: template argument 1 is invalid
25 | sort(a+1,a+n+1, greater<db>());
| ^
sure.cpp:26:10: error: 'b' was not declared in this scope
26 | sort(b+1,b+n+1, greater<db>());
| ^
sure.cpp:5:12: error: two or more data types in declaration of 'type name'
5 | #define db double float
| ^~~~~~
sure.cpp:26:29: note: in expansion of macro 'db'
26 | sort(b+1,b+n+1, greater<db>());
| ^~
sure.cpp:26:31: error: template argument 1 is invalid
26 | sort(b+1,b+n+1, greater<db>());
| ^
sure.cpp:5:12: error: two or more data types in declaration of 'ans'
5 | #define db double float
| ^~~~~~
sure.cpp:29:5: note: in expansion of macro 'db'
29 | db ans = 0;
| ^~
sure.cpp:5:12: error: two or more data types in declaration of 'x1'
5 | #define db double float
| ^~~~~~
sure.cpp:32:13: note: in expansion of macro 'db'
32 | db x1 = a[x],x2 = b[y];
| ^~
sure.cpp:33:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
33 | ans = max(ans,min(x2, x1)-x-y);
| ^~~
| abs
sure.cpp:33:31: error: 'x2' was not declared in this scope; did you mean 'x'?
33 | ans = max(ans,min(x2, x1)-x-y);
| ^~
| x
sure.cpp:33:35: error: 'x1' was not declared in this scope; did you mean 'x'?
33 | ans = max(ans,min(x2, x1)-x-y);
| ^~
| x
sure.cpp:37:41: error: 'ans' was not declared in this scope; did you mean 'abs'?
37 | cout << fixed << setprecision(4) << ans << endl;
| ^~~
| abs