| Problem | shoes |
|---|---|
| User | nminhnguyenle |
| Submission Time | 2026-02-18 12:35:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
shoes.cpp: In function ‘long long int count_swaps(std::vector<long long int>)’:
shoes.cpp:59:2: error: ‘map’ was not declared in this scope
59 | map<int,deque<int>> mp;
| ^~~
shoes.cpp:59:2: note: suggested alternatives:
In file included from /usr/include/c++/9/map:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from shoes.cpp:1:
/usr/include/c++/9/bits/stl_map.h:100:11: note: ‘std::map’
100 | class map
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from shoes.cpp:1:
/usr/include/c++/9/map:82:13: note: ‘std::pmr::map’
82 | using map
| ^~~
shoes.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
shoes.cpp:59:6: note: in expansion of macro ‘int’
59 | map<int,deque<int>> m