0_0_38728855_30673.cpp:2:13: error: 'p' was not declared in this scope
2 | #define PII p[i];
| ^
0_0_38728855_30673.cpp:7:5: note: in expansion of macro 'PII'
7 | map<PII, int> mp;
| ^~~
0_0_38728855_30673.cpp:2:15: error: 'i' was not declared in this scope
2 | #define PII p[i];
| ^
0_0_38728855_30673.cpp:7:5: note: in expansion of macro 'PII'
7 | map<PII, int> mp;
| ^~~
0_0_38728855_30673.cpp:2:16: error: wrong number of template arguments (1, should be at least 2)
2 | #define PII p[i];
| ^
0_0_38728855_30673.cpp:7:5: note: in expansion of macro 'PII'
7 | map<PII, 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_38728855_30673.cpp:7:8: error: expected unqualified-id before ',' token
7 | map<PII, int> mp;
| ^
0_0_38728855_30673.cpp:7:10: error: expected unqualified-id before 'int'
7 | map<PII, int> mp;
| ^~~
0_0_38728855_30673.cpp:2:13: error: 'p' does not name a type
2 | #define PII p[i];
| ^
0_0_38728855_30673.cpp:8:1: note: in expansion of macro 'PII'
8 | PII p[N];
| ^~~
0_0_38728855_30673.cpp:8:5: error: 'p' does not name a type
8 | PII p[N];
| ^
0_0_38728855_30673.cpp: In function 'void konbi()':
0_0_38728855_30673.cpp:10:19: error: 'mp' was not declared in this scope
10 | cin >> n; mp.clear();
| ^~
0_0_38728855_30673.cpp:12:24: error: 'p' was not declared in this scope
12 | cin >> p[i].fi >> p[i].se;
| ^
0_0_38728855_30673.cpp:15:14: error: 'p' was not declared in this scope
15 | sort(p + 1, p + 2 * n + 1);
| ^
0_0_38728855_30673.cpp:2:15: error: 'i' was not declared in this scope
2 | #define PII p[i];
| ^
0_0_38728855_30673.cpp:16:16: note: in expansion of macro 'PII'
16 | vector<PII> ans;
| ^~~
0_0_38728855_30673.cpp:2:16: error: template argument 1 is invalid
2 | #define PII p[i];
| ^
0_0_38728855_30673.cpp:16:16: note: in expansion of macro 'PII'
16 | vector<PII> ans;
| ^~~
0_0_38728855_30673.cpp:2:16: error: template argument 2 is invalid
2 | #define PII p[i];
| ^
0_0_38728855_30673.cpp:16:16: note: in expansion of macro 'PII'
16 | vector<PII> ans;
| ^~~
0_0_38728855_30673.cpp:16:19: error: expected primary-expression before '>' token
16 | vector<PII> ans;
| ^
0_0_38728855_30673.cpp:16:21: error: 'ans' was not declared in this scope; did you mean 'abs'?
16 | vector<PII> ans;
| ^~~
| abs
0_0_38728855_30673.cpp:27:84: error: 'class std::vector<int>' has no member named 'pb'
27 | mp[p[j]]--; mp[{p[j].fi + dx, p[j].se + dy}]--; id.pb(j);
| ^~
|