Advertisement
Norvager

Untitled

Oct 27th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. http://lerna.pro/contests/157/7
  2.  
  3. #define _CRT_SECYRE_NO_WARNINGS
  4. #include <iostream>
  5. #include <vector>
  6. #include <algorithm>
  7. #include <string>
  8. using namespace std;
  9. vector <pair <string, string>> name;
  10. vector <vector <pair <string, string>>> type;
  11. int main()
  12. {
  13. int N;
  14. scanf("%d", &N);
  15. name.resize(N);
  16. for (int i = 0; i < N; ++i)
  17. {
  18. cin >> name[i].first >> name[i].second;
  19. }
  20. int M;
  21. scanf("%d", &M);
  22. type.
  23. for (int i = 0; i < N; ++i)
  24. {
  25. cin >> name[i].first >> name[i].second;
  26. }
  27. return 0;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement