Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <map>
- #include <iostream>
- using namespace std;
- std::map < unsigned long long int, std::pair < int , int > > invertID;
- int main(){
- std::pair<int,int> m;
- m = std::make_pair(1,2);
- invertID[1] = m;
- invertID[1].first=3;
- invertID[1].second=3;
- cout << invertID[1].first;
- cout << invertID[1].second;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement