shoes.cpp:6:1: error: 'deque' does not name a type
6 | deque <ll> pos[N], neg[N];
| ^~~~~
shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:22:20: error: 'vec' was not declared in this scope
22 | if(vec[i] < 0) neg[-s[i]].pb(i);
| ^~~
shoes.cpp:22:32: error: 'neg' was not declared in this scope
22 | if(vec[i] < 0) neg[-s[i]].pb(i);
| ^~~
shoes.cpp:23:22: error: 'pos' was not declared in this scope
23 | else pos[s[i]].pb(i);
| ^~~
shoes.cpp:27:28: error: 'n' was not declared in this scope
27 | for(int i = 0; i < n; i++){
| ^
shoes.cpp:28:20: error: 'was' was not declared in this scope
28 | if(was[i]) continue;
| ^~~
shoes.cpp:30:32: error: 'pos' was not declared in this scope
30 | last = pos[-s[i]].front();
| ^~~
shoes.cpp:34:32: error: 'neg' was not declared in this scope
34 | last = neg[s[i]].front();
| ^~~
shoes.cpp:38:17: error: 'pos' was not declared in this scope
38 | pos[abs(s[i])].pop_front();
| ^~~
shoes.cpp:42:17: error: 'was' was not declared in this scope
42 | was[last] = true;
| ^~~