Skip to content

Commit

Permalink
Solução dos problemas da categoria Iniciante #27 (#36)
Browse files Browse the repository at this point in the history
* Solução dos problemas da categoria Iniciante #27

Problema 1541 - Construindo Casas

* Solução dos problemas da categoria Iniciante #27

Problema 1789 - A Corrida de Lesmas

* Solução dos problemas da categoria Iniciante #27

Problema 1478 - Matriz Quadrada II
  • Loading branch information
arioston authored and lrlucena committed Oct 7, 2019
1 parent 93aa5a4 commit e572ff1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions categorias/iniciante.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Iniciante (207 / 312)
# Iniciante (208 / 312)

- [ ] [1478](https://www.urionlinejudge.com.br/judge/pt/problems/view/1478) - Matriz Quadrada II
- [ ] [1827](https://www.urionlinejudge.com.br/judge/pt/problems/view/1827) - Matriz Quadrada IV
- [ ] [1837](https://www.urionlinejudge.com.br/judge/pt/problems/view/1837) - Prefácio
- [ ] [1848](https://www.urionlinejudge.com.br/judge/pt/problems/view/1848) - Corvo Contador
Expand Down Expand Up @@ -214,6 +213,7 @@
- [x] [1189](https://www.urionlinejudge.com.br/judge/pt/problems/view/1189) - [Área Esquerda](https://github.com/potigol/URI-Potigol/blob/master/src/1101-1200/1189.poti)
- [x] [1190](https://www.urionlinejudge.com.br/judge/pt/problems/view/1190) - [Área Direita](https://github.com/potigol/URI-Potigol/blob/master/src/1101-1200/1190.poti)
- [x] [1435](https://www.urionlinejudge.com.br/judge/pt/problems/view/1435) - [Matriz Quadrada I](https://github.com/potigol/URI-Potigol/blob/master/src/1401-1500/1435.poti)
- [X] [1478](https://www.urionlinejudge.com.br/judge/pt/problems/view/1478) - [Matriz Quadrada II](https://github.com/potigol/URI-Potigol/blob/master/src/1401-1500/1478.poti)
- [x] [1534](https://www.urionlinejudge.com.br/judge/pt/problems/view/1534) - [Matriz 123](https://github.com/potigol/URI-Potigol/blob/master/src/1501-1600/1534.poti)
- [x] [1541](https://www.urionlinejudge.com.br/judge/pt/problems/view/1541) - [Construindo Casas](https://github.com/potigol/URI-Potigol/blob/master/src/1501-1600/1541.poti)
- [x] [1557](https://www.urionlinejudge.com.br/judge/pt/problems/view/1557) - [Matriz Quadrada III](https://github.com/potigol/URI-Potigol/blob/master/src/1501-1600/1557.poti)
Expand Down
16 changes: 16 additions & 0 deletions src/1401-1500/1478.poti
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
var n := leia_inteiro

enquanto n <> 0 faça
para linha de 1 até n faça
imprima linha formato "%3d"
para c de linha - 1 até 1 passo -1 faça
imprima c formato "%4d"
fim
para c de 2 até n - linha + 1 faça
imprima c formato "%4d"
fim
escreva ""
fim
escreva ""
n := leia_inteiro
fim

0 comments on commit e572ff1

Please sign in to comment.