#include <vector>
#include <utility>
#include <iostream>
#include <functional>
using namespace std;
int main()
{
vector<pair<string, int>> v;
v.push_back(make_pair("abc", 10));
auto f = bind(&pair<string, int>::second, v.begin());
int res = f();
cout << res << endl;
return 0;
}
I2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPHV0aWxpdHk+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPGZ1bmN0aW9uYWw+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CiAgICB2ZWN0b3I8cGFpcjxzdHJpbmcsIGludD4+IHY7IAogICAgdi5wdXNoX2JhY2sobWFrZV9wYWlyKCJhYmMiLCAxMCkpOwogICAgYXV0byBmID0gYmluZCgmcGFpcjxzdHJpbmcsIGludD46OnNlY29uZCwgdi5iZWdpbigpKTsKICAgIGludCByZXMgPSBmKCk7CiAgICBjb3V0IDw8IHJlcyA8PCBlbmRsOwogICAgcmV0dXJuIDA7Cn0=