标签:cout include ace cin pac iterator return push std
#include <iostream>
#include <string.h>
#include <vector>
using namespace std;
int main()
{
vector<string> c;
int n;
cin >> n;
int a, b;
for(int i=0; i<n; i++)
{
string str;
cin >> str;
cin >> a >> b;
if(a<15||a>20||b<50||b>70)
c.push_back(str);
}
vector<string>::iterator iter = c.begin();
for(; iter!=c.end(); iter++)
cout << *iter << endl;
return 0;
}
标签:cout include ace cin pac iterator return push std
原文地址:http://www.cnblogs.com/1915884031A-qqcom/p/7341146.html