hack.cpp: In function 'int hack()':
hack.cpp:9:16: error: 'll' was not declared in this scope
9 | map<vector<ll>,int>cache;
| ^~
hack.cpp:9:18: error: template argument 1 is invalid
9 | map<vector<ll>,int>cache;
| ^
hack.cpp:9:18: error: template argument 2 is invalid
hack.cpp:9:23: error: template argument 1 is invalid
9 | map<vector<ll>,int>cache;
| ^
hack.cpp:9:23: error: template argument 3 is invalid
hack.cpp:9:23: error: template argument 4 is invalid
hack.cpp:22:50: error: request for member 'count' in 'cache', which is of non-class type 'int'
22 | if(cache.count(query))
| ^~~~~
hack.cpp:23:67: error: no match for 'operator[]' (operand types are 'int' and 'std::vector<long long int>')
23 | curr=cache[query];
| ^
hack.cpp:27:62: error: no match for 'operator[]' (operand types are 'int' and 'std::vector<long long int>')
27 | cache[query]=curr;
| ^