Skip to content

Commit

Permalink
Problema: 1366
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlucena committed May 23, 2024
1 parent 2fb40aa commit df2494d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/1300/1366.poti
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var n := leia_inteiro
enquanto n > 0 faça
var pares := 0
para i de 1 ate n faça
v = leia_inteiros(" ")[2] div 2
pares := pares + v
fim
retangulos = pares div 2
escreva retangulos
n := leia_inteiro
fim

0 comments on commit df2494d

Please sign in to comment.