文章
5
粉丝
50
获赞
0
访问
1.9k
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int n;
while (cin >> n) {
string n1 = "",n2="";
string t1, t2;
for (int i = 0; i < n; i++) {
string a, b, c;
cin >> a >> b >> c;
if (n1 == "") {
n1 = a, n2 = a;
t1 = b;
t2 = c;
}
else {
if (b < t1) {
n1 = a;
&nbs...
登录后发布评论
暂无评论,来抢沙发