Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://lerna.pro/contests/157/7
- #define _CRT_SECYRE_NO_WARNINGS
- #include <iostream>
- #include <vector>
- #include <algorithm>
- #include <string>
- using namespace std;
- vector <pair <string, string>> name;
- vector <vector <pair <string, string>>> type;
- int main()
- {
- int N;
- scanf("%d", &N);
- name.resize(N);
- for (int i = 0; i < N; ++i)
- {
- cin >> name[i].first >> name[i].second;
- }
- int M;
- scanf("%d", &M);
- type.
- for (int i = 0; i < N; ++i)
- {
- cin >> name[i].first >> name[i].second;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement