0_0_39570775_142.cpp:3:13: error: 'std::pair<long long int, long long int>' is not a template
3 | #define pii pair<ll,ll>
| ^~~~~~~~~~~
0_0_39570775_142.cpp:7:5: note: in expansion of macro 'pii'
7 | map<pii<pii,ll>,pii> mp;
| ^~~
0_0_39570775_142.cpp: In function 'void init()':
0_0_39570775_142.cpp:26:9: error: 'num' was not declared in this scope; did you mean 'enum'?
26 | num.clear();
| ^~~
| enum
0_0_39570775_142.cpp: In function 'int main()':
0_0_39570775_142.cpp:95:60: error: 'num' was not declared in this scope; did you mean 'enum'?
95 | if(num[pii(x,y)]==mp.end()){
| ^~~
| enum
0_0_39570775_142.cpp:98:76: error: 'num' was not declared in this scope; did you mean 'enum'?
98 | if(mp[pii(pii(x,y),num(pii(x,y)))].first<d[y].val){
| ^~~
| enum
|