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

211/429

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 rockersabbir Cpp 0.00s
12 tariqiitju Cpp 0.00s
13 Pure_Protea Cpp14 0.00s
14 uzzal_rahman Cpp 0.00s
15 maxhasan Cpp 0.00s
16 lazyfahim Cpp 0.00s
17 MRITuhin Cpp 0.00s
18 prodipdatta7 Cpp14 0.00s
19 sajjad_h Cpp 0.00s
20 Dragon_Curve Cpp 0.00s
21 rayhan50001 Cpp14 0.00s
22 NIverdPereira Cpp 0.00s
23 wizard Cpp 0.00s
24 brainhacker Cpp 0.00s
25 yasirnabil534 Cpp 0.00s
26 pulak_ict_mbstu Cpp 0.00s
27 mohibur Cpp 0.00s
28 kakarotto Cpp 0.00s
29 abufarhad Cpp 0.00s
30 fayedanik Cpp 0.00s
31 prottoy919 Cpp 0.00s
32 Code_Hunter Cpp 0.00s
33 abd007 Cpp 0.00s
34 _GhOstMan_ Cpp 0.00s
35 Sheikh_Fahad Cpp 0.00s
36 Ramprosad Cpp 0.00s
37 feodorv C 0.00s
38 Riad_IIT7 Cpp 0.00s
39 Mr_KAJOL Cpp 0.00s
40 Chayti_Saha98 Cpp 0.00s
41 Silent_Warrior Cpp 0.00s
42 Ahb_arif Cpp14 0.00s
43 JubayerSohel Cpp 0.00s
44 Mehedi07 C 0.00s
45 Ruhul1975 Cpp 0.00s
46 ss1230 Cpp14 0.00s
47 Rajan_sust Cpp14 0.00s
48 Sakhawat_CoU Cpp 0.00s
49 jayed_al_hasan Cpp 0.00s
50 Khayrul_34 Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support