Uri/BEE CROWD 1131 Problem solution in C,C++, Python

Uri/BEE CROWD 1131 Problem solution || Uri problem solutions || BEECROWD 1131 Grenais Solution in C, C++, Python || Beecrowd 1131 Solution

Uri/BEE CROWD 1131 Problem solution in C,C++, Python

Question & Submit :

Beecrowd 1131 Question:

The Federação Gaúcha de Futebol invited you to write a program to present a statistical result of several GRENAIS. Write a program that read the number of goals scored by Inter and the number of goals scored by Gremio in a GRENAL. Write the message “Novo grenal (1-sim 2-nao)” and request a response. [Uri problem solution]

– How many GRENAIS were part of the statistics.
– 1.The number of victories of Inter.
– 2.The number of victories of Gremio.
– 3.The number of Draws.
– A message indicating the team that won the largest number of GRENAIS (or the message: “Não houve vencedor” if both team won the same quantity of GRENAIS).

Input

The input contains two integer values​​, corresponding to the goals scored by both teams.

Output

After each reading of the goals, the message “Novo grenal (1-sim 2-nao)” must be printed.

Input SampleOutput Sample
3 2
1
2 3
1
3 1
2
Novo grenal (1-sim 2-nao)
Novo grenal (1-sim 2-nao)
Novo grenal (1-sim 2-nao)
3 grenais
Inter:2
Gremio:1
Empates:0
Inter venceu mais

Uri/BEE CROWD 1131 Solution in Pyhon

URI / BEE CROWD 1131 Grenais Solution In c

Uri-problem-solution In this code we use c language. Uri-problem-solution 1131 grenais .Don’t copy the code first try.

URI / BEE CROWD 1131 Grenais Solution in C++

Beecrowd 1040 Average 3 Solution in C, C++, Python

Leave a Comment