aliens.cpp:4:1: error: 'll' does not name a type
ll n, x, y;
^~
aliens.cpp:6:10: error: 'll' was not declared in this scope
bool qry(ll x0, ll y0) {
^~
aliens.cpp:6:17: error: 'll' was not declared in this scope
bool qry(ll x0, ll y0) {
^~
aliens.cpp:6:22: error: expression list treated as compound expression in initializer [-fpermissive]
bool qry(ll x0, ll y0) {
^
aliens.cpp:15:1: error: 'll' does not name a type
ll solveX(ll dir) {
^~
aliens.cpp:32:1: error: 'll' does not name a type
ll solveY(ll dir) {
^~
aliens.cpp:49:1: error: 'll' does not name a type
ll cnt[4];
^~
aliens.cpp:50:1: error: 'll' does not name a type
ll dx[4] = {1, 0, -1, 0};
^~
aliens.cpp:51:1: error: 'll' does not name a type
ll dy[4] = {0, 1, 0, -1};
^~
aliens.cpp: In function 'int main()':
aliens.cpp:54:27: error: 'n' was not declared in this scope
scanf("%lld %lld %lld", &n, &x, &y);
^
aliens.cpp:54:27: note: suggested alternative: 'yn'
scanf("%lld %lld %lld", &n, &x, &y);
^
yn
aliens.cpp:54:31: error: 'x' was not declared in this scope
scanf("%lld %lld %lld", &n, &x, &y);
^
aliens.cpp:54:35: error: 'y' was not declared in this scope
scanf("%lld %lld %lld", &n, &x, &y);
^
aliens.cpp:54:35: note: suggested alternative: 'yn'
scanf("%lld %lld %lld", &n, &x, &y);
^
yn
aliens.cpp:55:2: error: 'll' was not declared in this scope
ll mxx = solveX(1), mix = solveX(-1);
^~
aliens.cpp:56:5: error: expected ';' before 'mxy'
ll mxy = solveY(1), miy = solveY(-1);
^~~
aliens.cpp:57:7: error: 'mxx' was not declared in this scope
x = (mxx+mix) / 2;
^~~
aliens.cpp:57:7: note: suggested alternative: 'fmax'
x = (mxx+mix) / 2;
^~~
fmax
aliens.cpp:57:11: error: 'mix' was not declared in this scope
x = (mxx+mix) / 2;
^~~
aliens.cpp:57:11: note: suggested alternative: 'main'
x = (mxx+mix) / 2;
^~~
main
aliens.cpp:58:7: error: 'mxy' was not declared in this scope
y = (mxy+miy) / 2;
^~~
aliens.cpp:58:11: error: 'miy' was not declared in this scope
y = (mxy+miy) / 2;
^~~
aliens.cpp:58:11: note: suggested alternative: 'main'
y = (mxy+miy) / 2;
^~~
main
aliens.cpp:59:5: error: expected ';' before 'm'
ll m = mxx - mix + 1;
^
aliens.cpp:60:10: error: expected ';' before 'i'
for (ll i = 0; i < 4; i++) {
^
aliens.cpp:60:17: error: 'i' was not declared in this scope
for (ll i = 0; i < 4; i++) {
^
aliens.cpp:61:8: error: 'cnt' was not declared in this scope
for (cnt[i] = 1; qry(x + 2 * m * dx[i] * cnt[i], y + 2 * m * dy[i] * cnt[i]); cnt[i]++);
^~~
aliens.cpp:61:8: note: suggested alternative: 'int'
for (cnt[i] = 1; qry(x + 2 * m * dx[i] * cnt[i], y + 2 * m * dy[i] * cnt[i]); cnt[i]++);
^~~
int
aliens.cpp:61:32: error: 'm' was not declared in this scope
for (cnt[i] = 1; qry(x + 2 * m * dx[i] * cnt[i], y + 2 * m * dy[i] * cnt[i]); cnt[i]++);
^
aliens.cpp:61:32: note: suggested alternative: 'tm'
for (cnt[i] = 1; qry(x + 2 * m * dx[i] * cnt[i], y + 2 * m * dy[i] * cnt[i]); cnt[i]++);
^
tm
aliens.cpp:61:36: error: 'dx' was not declared in this scope
for (cnt[i] = 1; qry(x + 2 * m * dx[i] * cnt[i], y + 2 * m * dy[i] * cnt[i]); cnt[i]++);
^~
aliens.cpp:61:64: error: 'dy' was not declared in this scope
for (cnt[i] = 1; qry(x + 2 * m * dx[i] * cnt[i], y + 2 * m * dy[i] * cnt[i]); cnt[i]++);
^~
aliens.cpp:61:78: error: 'qry' cannot be used as a function
for (cnt[i] = 1; qry(x + 2 * m * dx[i] * cnt[i], y + 2 * m * dy[i] * cnt[i]); cnt[i]++);
^
aliens.cpp:62:3: error: 'cnt' was not declared in this scope
cnt[i]--;
^~~
aliens.cpp:62:3: note: suggested alternative: 'int'
cnt[i]--;
^~~
int
aliens.cpp:64:6: error: 'cnt' was not declared in this scope
if (cnt[0] == cnt[2] && cnt[1] == cnt[3])
^~~
aliens.cpp:64:6: note: suggested alternative: 'int'
if (cnt[0] == cnt[2] && cnt[1] == cnt[3])
^~~
int
aliens.cpp:66:10: error: 'm' was not declared in this scope
x = x + m * (cnt[0] * dx[0] + cnt[2] * dx[2]);
^
aliens.cpp:66:10: note: suggested alternative: 'tm'
x = x + m * (cnt[0] * dx[0] + cnt[2] * dx[2]);
^
tm
aliens.cpp:66:15: error: 'cnt' was not declared in this scope
x = x + m * (cnt[0] * dx[0] + cnt[2] * dx[2]);
^~~
aliens.cpp:66:15: note: suggested alternative: 'int'
x = x + m * (cnt[0] * dx[0] + cnt[2] * dx[2]);
^~~
int
aliens.cpp:66:24: error: 'dx' was not declared in this scope
x = x + m * (cnt[0] * dx[0] + cnt[2] * dx[2]);
^~
aliens.cpp:67:24: error: 'dy' was not declared in this scope
y = y + m * (cnt[1] * dy[1] + cnt[3] * dy[3]);
^~