读入一个string序列和一个int序列,…
int main (int argc, char* argv[])
{
std::ios::sync_with_stdio (false);
vector<
string > fuck{ "fuck", "fuck", "fuck", "fuck", "fuck", "fuck",
"fuck", "fuck", "fuck", "fuck", };
vector<
int> damn;
for (int i =
0; i < 11; ++i)
damn.push_back (i);
vector<
pair< string, int> > fuck_damn;
for (size_t
i = 0; i < fuck.size () && i < damn.size ();
++i)
fuck_damn.push_back (make_pair(fuck[i],
damn[i]));
for (auto
&element : fuck_damn)
cout << element << endl;
return
0;
}
{
}