DCP-562: Argentina vs Brazil Back to All Problems

Beginner Beginners Problems > Ad-hoc


So, FIFA World Cup 2018 is knocking at the door. We love to support our favorite team. Most of us want to see Argentina vs Brazil final surely! Suppose, our dreams come true. It's Argentina vs Brazil final! After the final, you want to post a status on facebook with the match result. The status will be formatted lilke **[Winner Team Name] [Number of Goal of Winner Team] - [Number of Goal of Loser Team] [Loser Team Name]**. It is guaranteed that the match will not finished with draw. Input ------ Input starts with an integer **T**, denoting the number of test cases.<br> Each case contains two integers **A** and **B** denoting the number of goal of Argentina and number of goal of Brazil respectfully. Output ------- For each case, output the match result as mentioned above in a single line. Contraints ------ **1 ≤ T ≤ 1000<br> 0 ≤ A, B ≤ 100** Sample Input ------------ 1 10 0 Sample Output ------------- Argentina 10 - 0 Brazil


Problem Setter:

Emrul Chowdhury

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

364/755

Solve/Submission

Ranking

# User Language Timing
01 aseem_cu Cpp 0.00s
02 Nazmul_WUB Cpp 0.00s
03 rabel Cpp 0.00s
04 asad_IT Cpp 0.00s
05 kamrulashraf Cpp 0.00s
06 muhaimin Cpp 0.00s
07 prodipdatta7 Cpp14 0.00s
08 Aman_khan Cpp 0.00s
09 rayhan50001 Cpp14 0.00s
10 CodeMechanix Cpp 0.00s
11 yasirnabil534 Cpp 0.00s
12 jahidwarrior Cpp 0.00s
13 fayedanik Cpp 0.00s
14 Raka143 Cpp 0.00s
15 ibrahimnsu15 Cpp 0.00s
16 Sky2496 Cpp14 0.00s
17 Sheikh_Fahad Cpp 0.00s
18 nahid3334 Cpp 0.00s
19 Sajal_Deb Cpp 0.00s
20 yeamin Cpp 0.00s
21 Tamim028 Cpp 0.00s
22 feodorv C 0.00s
23 Arif_Shariar Cpp 0.00s
24 hamza133913 Cpp 0.00s
25 Freaky_Weirdo Cpp 0.00s
26 shahidullah_anik Cpp 0.00s
27 Chayti_Saha98 Cpp 0.00s
28 FariD Cpp14 0.00s
29 sultan11 C 0.00s
30 neel71 C 0.00s
31 rakibislam1996 Cpp14 0.00s
32 mainulislam588 Cpp 0.00s
33 foysalislam Cpp 0.00s
34 Ruhul1975 Cpp 0.00s
35 Nabil_Mashrief Cpp 0.00s
36 Sayma_COU Cpp 0.00s
37 ivax6 Cpp14 0.00s
38 exceptional_prapti Cpp 0.00s
39 Sakhawat_CoU Cpp 0.00s
40 unknown420 Cpp 0.00s
41 monir769 Cpp14 0.00s
42 Akram_H_RIckon Cpp 0.00s
43 aaman007 Cpp 0.00s
44 kheya Cpp 0.00s
45 zubayerhossain Cpp 0.00s
46 ashikur_rahman Cpp 0.00s
47 Ratul728 Cpp 0.00s
48 Shadman77 Cpp 0.00s
49 Bisnu039 Cpp 0.00s
50 milon019 Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support