1

耦园采雪  •  2年前


include

using namespace std;

int main() {

int a, b, c = 0;
cin >> a;
string x, y;
for (int i = 0; i < a; i++) {
	cin >> x;
	b = x.size();
	if (b > c) {
		c = b;
		y = x;
	}
}
cout << y;
return 0;

}


评论:

请先登录,才能进行评论