Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <map>
- #include <iostream>
- using namespace std;
- typedef long long ll;
- int main()
- {
- map<string, int> mapa;
- mapa["Josif"] = 22;
- mapa["Teo"] = 50;
- mapa["Stefan"] = 20;
- cout << mapa["Josif"] << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement