0_0_39156618_21659.cpp:16:18: error: declaration does not declare anything [-fpermissive]
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:17:1: note: in expansion of macro 'int'
17 | int n,m;
| ^~~
0_0_39156618_21659.cpp:17:5: error: 'n' does not name a type
17 | int n,m;
| ^
0_0_39156618_21659.cpp:16:18: error: declaration does not declare anything [-fpermissive]
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:19:9: note: in expansion of macro 'int'
19 | int x,y;
| ^~~
0_0_39156618_21659.cpp:19:13: error: 'x' does not name a type
19 | int x,y;
| ^
0_0_39156618_21659.cpp: In function 'bool cmp(node, node)':
0_0_39156618_21659.cpp:22:14: error: 'struct node' has no member named 'x'
22 | if(a.x==b.x) return a.y>b.y;
| ^
0_0_39156618_21659.cpp:22:19: error: 'struct node' has no member named 'x'
22 | if(a.x==b.x) return a.y>b.y;
| ^
0_0_39156618_21659.cpp:22:31: error: 'struct node' has no member named 'y'
22 | if(a.x==b.x) return a.y>b.y;
| ^
0_0_39156618_21659.cpp:22:35: error: 'struct node' has no member named 'y'
22 | if(a.x==b.x) return a.y>b.y;
| ^
0_0_39156618_21659.cpp:23:23: error: 'struct node' has no member named 'x'
23 | else return a.x>b.x;
| ^
0_0_39156618_21659.cpp:23:27: error: 'struct node' has no member named 'x'
23 | else return a.x>b.x;
| ^
0_0_39156618_21659.cpp: In function 'int main()':
0_0_39156618_21659.cpp:26:20: error: 'n' was not declared in this scope
26 | while(cin>>n>>m){
| ^
0_0_39156618_21659.cpp:26:23: error: 'm' was not declared in this scope; did you mean 'tm'?
26 | while(cin>>n>>m){
| ^
| tm
0_0_39156618_21659.cpp:16:18: error: declaration does not declare anything [-fpermissive]
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:27:13: note: in expansion of macro 'int'
27 | for(int i=1;i<=n;i++) scanf("%d%d",&b[i].x,&b[i].y);
| ^~~
0_0_39156618_21659.cpp:27:17: error: 'i' was not declared in this scope
27 | for(int i=1;i<=n;i++) scanf("%d%d",&b[i].x,&b[i].y);
| ^
0_0_39156618_21659.cpp:27:25: error: expected ')' before ';' token
27 | for(int i=1;i<=n;i++) scanf("%d%d",&b[i].x,&b[i].y);
| ~ ^
| )
0_0_39156618_21659.cpp:27:26: error: 'i' was not declared in this scope
27 | for(int i=1;i<=n;i++) scanf("%d%d",&b[i].x,&b[i].y);
| ^
0_0_39156618_21659.cpp:16:18: error: declaration does not declare anything [-fpermissive]
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:28:13: note: in expansion of macro 'int'
28 | for(int i=1;i<=m;i++) scanf("%d%d",&t[i].x,&t[i].y);
| ^~~
0_0_39156618_21659.cpp:28:25: error: expected ')' before ';' token
28 | for(int i=1;i<=m;i++) scanf("%d%d",&t[i].x,&t[i].y);
| ~ ^
| )
0_0_39156618_21659.cpp:16:18: error: wrong number of template arguments (1, should be at least 2)
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:31:13: note: in expansion of macro 'int'
31 | map<int,int> mp;
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:63,
from .\stdc++.h:152:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39156618_21659.cpp:31:16: error: expected primary-expression before ',' token
31 | map<int,int> mp;
| ^
0_0_39156618_21659.cpp:16:13: error: expected primary-expression before 'long'
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:31:17: note: in expansion of macro 'int'
31 | map<int,int> mp;
| ^~~
0_0_39156618_21659.cpp:31:20: error: expected primary-expression before '>' token
31 | map<int,int> mp;
| ^
0_0_39156618_21659.cpp:31:22: error: 'mp' was not declared in this scope; did you mean 'cmp'?
31 | map<int,int> mp;
| ^~
| cmp
0_0_39156618_21659.cpp:16:18: error: declaration does not declare anything [-fpermissive]
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:32:9: note: in expansion of macro 'int'
32 | int j=1,cnt=0,sum=0;
| ^~~
0_0_39156618_21659.cpp:32:13: error: 'j' was not declared in this scope
32 | int j=1,cnt=0,sum=0;
| ^
0_0_39156618_21659.cpp:32:17: error: 'cnt' was not declared in this scope; did you mean 'int'?
32 | int j=1,cnt=0,sum=0;
| ^~~
| int
0_0_39156618_21659.cpp:32:23: error: 'sum' was not declared in this scope
32 | int j=1,cnt=0,sum=0;
| ^~~
0_0_39156618_21659.cpp:16:18: error: declaration does not declare anything [-fpermissive]
16 | #define int long long;
| ^~~~
0_0_39156618_21659.cpp:33:13: note: in expansion of macro 'int'
33 | for(int i=1;i<=m;i++){
| ^~~
0_0_39156618_21659.cpp:33:25: error: expected ')' before ';' token
33 | for(int i=1;i<=m;i++){
| ~ ^
| )
|