DCP-517: FIFA 2030 Back to All Problems

Easy Beginners Problems > Ad-hoc


**FIFA** (Fakirapool International Football Association) 2030 will take place in Bangladesh. Imagine you are in 2030 now. Bangladesh National Football team is also participating in FIFA 2030. BFF and FIFA declared that game rules are changed a little bit. They declared that in a group the team which scores the **highest** goal will be the winner of the group. Input: ------ Each line contains an integer **T (1<= T <=5 )** number of test cases, each case contains an integer **N (2<= N <=10)** number of teams in a group and next **N** lines contains a string **S (3 < |S| <= 20)** name of the team and an integer **G (1<= G <=20)** number of goal scored. <br> **It is guaranteed that there won’t be any tie.** Output: ------- Print “**Winner: \y/**” without quotes where **y** is the team name of the winner of the group. See sample I/O for more clarification. Note: **Backslash( \ )** may have special way of printing in different languages like c,c++. Sample Input ------------ 2 5 Bangladesh 6 Nepal 3 Germany 2 Italy 5 Spain 4 3 USA 4 Pakistan 3 India 1 Sample Output ------------- Winner: \Bangladesh/ Winner: \USA/


Problem Setter:

Humaun Kabir

Please login to submit solution to this problem.

Problem Limits

Language Time Limit (seconds)
C 1.00
C++ 1.00
C++14 1.00
C# 2.00
Go 2.00
Java 2.00
JavaScript 2.00
Objective-C 2.00
Perl 2.00
PHP 2.00
Python 2.00
Python3 2.00
Ruby 2.00
VB.Net 2.00

Problem Stats

203/414

Solve/Submission

Ranking

# User Language Timing
01 Roll_Number_27 Cpp 0.00s
02 duronto20 Cpp 0.00s
03 S_Saqib Cpp 0.00s
04 badhansen123 Cpp 0.00s
05 skmonir Cpp 0.00s
06 subhashis_cse Cpp 0.00s
07 obujgalib Cpp 0.00s
08 sazeduliu Cpp 0.00s
09 Rijoanul_Shanto Cpp 0.00s
10 Shakil_Mahmud Cpp 0.00s
11 tariqiitju Cpp 0.00s
12 Pure_Protea Cpp14 0.00s
13 uzzal_rahman Cpp 0.00s
14 maxhasan Cpp 0.00s
15 lazyfahim Cpp 0.00s
16 MRITuhin Cpp 0.00s
17 prodipdatta7 Cpp14 0.00s
18 sajjad_h Cpp 0.00s
19 Dragon_Curve Cpp 0.00s
20 rayhan50001 Cpp14 0.00s
21 NIverdPereira Cpp 0.00s
22 wizard Cpp 0.00s
23 brainhacker Cpp 0.00s
24 yasirnabil534 Cpp 0.00s
25 pulak_ict_mbstu Cpp 0.00s
26 mohibur Cpp 0.00s
27 kakarotto Cpp 0.00s
28 abufarhad Cpp 0.00s
29 fayedanik Cpp 0.00s
30 prottoy919 Cpp 0.00s
31 Code_Hunter Cpp 0.00s
32 abd007 Cpp 0.00s
33 _GhOstMan_ Cpp 0.00s
34 Sheikh_Fahad Cpp 0.00s
35 Ramprosad Cpp 0.00s
36 feodorv C 0.00s
37 Riad_IIT7 Cpp 0.00s
38 Mr_KAJOL Cpp 0.00s
39 Ahb_arif Cpp14 0.00s
40 JubayerSohel Cpp 0.00s
41 Mehedi07 C 0.00s
42 Chayti_Saha98 Cpp 0.00s
43 Silent_Warrior Cpp 0.00s
44 Ruhul1975 Cpp 0.00s
45 ss1230 Cpp14 0.00s
46 Rajan_sust Cpp14 0.00s
47 Khayrul_34 Cpp 0.00s
48 Bappy Cpp14 0.00s
49 haliban_25 C 0.00s
50 Sakhawat_CoU Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support