两个吃奶一个添下面视频_人妻第一页香蕉网_欧美xxxx少妇_妺妺窝人体色www婷婷

Dotcpp  >  編程題庫  >  [STL訓(xùn)練]Let the Balloon Rise
題目 2069:

[STL訓(xùn)練]Let the Balloon Rise

時間限制: 2s 內(nèi)存限制: 192MB 提交: 550 解決: 209

題目描述

Contest time again! How excited it is to see balloons floating around.  But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest is over, they will count the balloons of each color and find the result.This year, they decide to leave this lovely job to you. 

輸入格式

Input contains multiple test cases. Each test case starts with a number N (0 < N <= 1000) -- the total number of balloons distributed. The next N lines contain one color each. The color of a balloon is a string of up to 15 lower-case letters.A test case with N = 0 terminates the input and this test case is not   to be processed.

輸出格式

For each case, print the color of balloon for the most popular problem on a single line. It is guaranteed that there is a unique solution for each test case.

樣例輸入

5 
green 
red 
blue 
red 
red 
3 
pink 
orange 
pink 
0

樣例輸出

red 
pink

提示

零基礎(chǔ)同學(xué)可以先學(xué)習(xí)視頻課程,包含C/C++、Python、百練、藍(lán)橋杯輔導(dǎo)、算法數(shù)據(jù)結(jié)構(gòu)等課程,提供視頻講解以及配套習(xí)題,還有老師答疑,點擊這里了解課程詳情
標(biāo)簽