#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;
}
时间: 2024-10-11 12:33:15