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
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 |
Solve/Submission
# | User | Language | Timing |
---|---|---|---|
01 | shakil2021 | Cpp | 0.00s |
02 | st3inum | Cpp14 | 0.00s |
03 | ashishgup | Cpp | 0.00s |
04 | Nasif_44th | C | 0.00s |
05 | mahade31 | Cpp14 | 0.00s |
06 | prodipdatta7 | Cpp14 | 0.00s |
07 | hamza133913 | Cpp | 0.00s |
08 | muhaimin | Cpp | 0.00s |
09 | Arian_Ahmed | Cpp | 0.00s |
10 | Fahim_41 | Cpp | 0.00s |
11 | Sakhawat_CoU | Cpp | 0.00s |
12 | Freaky_Weirdo | Cpp | 0.00s |
13 | JAWAD | Cpp14 | 0.00s |
14 | unknown420 | Cpp | 0.00s |
15 | daihan_mbstu | Cpp14 | 0.00s |
16 | Shadman_Ibne_Saiful | C | 0.00s |
17 | asif04 | Cpp14 | 0.00s |
18 | shahidullah_anik | Cpp | 0.00s |
19 | Raka143 | Cpp | 0.00s |
20 | yeamin | Cpp | 0.00s |
21 | rabel | Cpp | 0.00s |
22 | hsn_ishrk | Cpp | 0.00s |
23 | mahadi97 | Cpp | 0.00s |
24 | asad_IT | Cpp | 0.00s |
25 | ssatdd | Cpp | 0.00s |
26 | Sajal_Deb | Cpp | 0.00s |
27 | Ratul728 | Cpp | 0.00s |
28 | Salam_35s | Cpp | 0.00s |
29 | aseem_cu | Cpp | 0.00s |
30 | Chayti_Saha98 | Cpp | 0.00s |
31 | Aluman | Cpp | 0.00s |
32 | fayedanik | Cpp | 0.00s |
33 | souravahmed | C | 0.00s |
34 | acwatlerte | Cpp | 0.00s |
35 | tfahim227007 | C | 0.00s |
36 | Shoumic | C | 0.00s |
37 | ashique111 | Cpp | 0.00s |
38 | dmehedi | Cpp14 | 0.00s |
39 | Sayma_COU | Cpp | 0.00s |
40 | desh_chowdhury | Cpp | 0.00s |
41 | Ahasan_1999 | C | 0.00s |
42 | Nayeem017 | C | 0.00s |
43 | warhammer327 | Cpp | 0.00s |
44 | Akram_H_RIckon | Cpp | 0.00s |
45 | zubayerhossain | Cpp | 0.00s |
46 | monir769 | Cpp14 | 0.00s |
47 | Dalu | Cpp | 0.00s |
48 | foysalislam | Cpp | 0.00s |
49 | Shuv | Cpp | 0.00s |
50 | sumaiya710 | Cpp | 0.00s |
Copyright © 2015-2016 Dev Skill.