0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:7:1: note: in expansion of macro 'int'
int n, q, x, y, wei;
^
0_0_37758058_3518.cpp:7:5: error: 'n' does not name a type
int n, q, x, y, wei;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:11:5: note: in expansion of macro 'int'
int x_add_y;
^
0_0_37758058_3518.cpp:11:9: error: 'x_add_y' does not name a type
int x_add_y;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:12:5: note: in expansion of macro 'int'
int x_y;
^
0_0_37758058_3518.cpp:12:9: error: 'x_y' does not name a type
int x_y;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:13:5: note: in expansion of macro 'int'
int y_x;
^
0_0_37758058_3518.cpp:13:9: error: 'y_x' does not name a type
int y_x;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:14:5: note: in expansion of macro 'int'
int _y_x;
^
0_0_37758058_3518.cpp:14:9: error: '_y_x' does not name a type
int _y_x;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:15:5: note: in expansion of macro 'int'
int w;
^
0_0_37758058_3518.cpp:15:9: error: 'w' does not name a type
int w;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:19:1: note: in expansion of macro 'int'
int cmp(town a, town b) {
^
0_0_37758058_3518.cpp: In function 'int cmp(town, town)':
0_0_37758058_3518.cpp:20:14: error: 'struct town' has no member named 'w'
return a.w < b.w;
^
0_0_37758058_3518.cpp:20:20: error: 'struct town' has no member named 'w'
return a.w < b.w;
^
0_0_37758058_3518.cpp: In function 'void solve2()':
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:24:5: note: in expansion of macro 'int'
int a, b;
^
0_0_37758058_3518.cpp:24:9: error: 'a' was not declared in this scope
int a, b;
^
0_0_37758058_3518.cpp:24:12: error: 'b' was not declared in this scope
int a, b;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:26:5: note: in expansion of macro 'int'
int l = 1, r = n, mid;
^
0_0_37758058_3518.cpp:26:9: error: 'l' was not declared in this scope
int l = 1, r = n, mid;
^
0_0_37758058_3518.cpp:26:16: error: 'r' was not declared in this scope
int l = 1, r = n, mid;
^
0_0_37758058_3518.cpp:26:20: error: 'n' was not declared in this scope
int l = 1, r = n, mid;
^
0_0_37758058_3518.cpp:26:23: error: 'mid' was not declared in this scope
int l = 1, r = n, mid;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:27:5: note: in expansion of macro 'int'
int d, res;
^
0_0_37758058_3518.cpp:27:9: error: 'd' was not declared in this scope
int d, res;
^
0_0_37758058_3518.cpp:27:12: error: 'res' was not declared in this scope
int d, res;
^
0_0_37758058_3518.cpp: In function 'void solve()':
0_0_37758058_3518.cpp:46:12: error: 'n' was not declared in this scope
cin >> n >> q;
^
0_0_37758058_3518.cpp:46:17: error: 'q' was not declared in this scope
cin >> n >> q;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:47:10: note: in expansion of macro 'int'
for (int i = 1; i <= n; i++) {
^
0_0_37758058_3518.cpp:47:14: error: 'i' was not declared in this scope
for (int i = 1; i <= n; i++) {
^
0_0_37758058_3518.cpp:47:27: error: expected ')' before ';' token
for (int i = 1; i <= n; i++) {
^
0_0_37758058_3518.cpp:47:29: error: 'i' was not declared in this scope
for (int i = 1; i <= n; i++) {
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:56:5: note: in expansion of macro 'int'
int max_x_add_y = INT32_MIN;
^
0_0_37758058_3518.cpp:56:9: error: 'max_x_add_y' was not declared in this scope
int max_x_add_y = INT32_MIN;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:57:5: note: in expansion of macro 'int'
int max_x_y = INT32_MIN;
^
0_0_37758058_3518.cpp:57:9: error: 'max_x_y' was not declared in this scope
int max_x_y = INT32_MIN;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:58:5: note: in expansion of macro 'int'
int max_y_x = INT32_MIN;
^
0_0_37758058_3518.cpp:58:9: error: 'max_y_x' was not declared in this scope
int max_y_x = INT32_MIN;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:59:5: note: in expansion of macro 'int'
int maxfuyfux = INT32_MIN;
^
0_0_37758058_3518.cpp:59:9: error: 'maxfuyfux' was not declared in this scope
int maxfuyfux = INT32_MIN;
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:60:10: note: in expansion of macro 'int'
for (int i = n; i >= 1; i--) {
^
0_0_37758058_3518.cpp:60:27: error: expected ')' before ';' token
for (int i = n; i >= 1; i--) {
^
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:70:10: note: in expansion of macro 'int'
for (int i = 1; i <= q; i++) {
^
0_0_37758058_3518.cpp:70:27: error: expected ')' before ';' token
for (int i = 1; i <= q; i++) {
^
0_0_37758058_3518.cpp: In function 'int main()':
0_0_37758058_3518.cpp:4:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_37758058_3518.cpp:79:5: note: in expansion of macro 'int'
int t;
^
0_0_37758058_3518.cpp:79:9: error: 't' was not declared in this scope
int t;
^
|