#include <iostream>
using namespace std;
#include <string>
int main()
{
//pair第一种创建方式
pair<string, int> p("Tom", 15);
cout << p.first << " " << p.second << endl;
//pair第二种创建方式
pair<string, int> p2 = make_pair("LiHua", 26);
cout << p2.first << " " << p2.second << endl;
}