Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include <algorithm>
- #include <map>
- using namespace std;
- typedef long long ll;
- int main() {
- map<vector<int>, bool> mapa;
- vector<int> v;
- v.push_back(0);
- v.push_back(1);
- v.push_back(2);
- mapa[v] = true;
- vector<int> v2;
- v2.push_back(0);
- v2.push_back(2);
- v2.push_back(1);
- cout << mapa[v2] << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement