Skip to content

Commit

Permalink
Problema: 2548
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlucena committed Jan 3, 2025
1 parent 5fe261e commit a4e656a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Join the chat at https://gitter.im/potigol/Potigol](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/potigol/Potigol?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Follow us](https://img.shields.io/twitter/follow/potigol.svg?style=social)](http://twitter.com/potigol)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/potigol/beecrowd)
[![Soluções](https://img.shields.io/badge/Problemas%20Resolvidos-835-blue)](https://github.com/potigol/beecrowd/commits/master)
[![Soluções](https://img.shields.io/badge/Problemas%20Resolvidos-836-blue)](https://github.com/potigol/beecrowd/commits/master)

<!-- a href="https://potigol.github.io/docs/hacktoberfest"><img src="https://hacktoberfest.digitalocean.com/_nuxt/img/logo-hacktoberfest-full.f42e3b1.svg" width=250></a -->

Expand Down
4 changes: 2 additions & 2 deletions categorias/adhoc.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ad-Hoc (266 / 892)
# Ad-Hoc (267 / 892)



Expand Down Expand Up @@ -180,6 +180,7 @@
- [x] [2473](https://www.beecrowd.com.br/repository/UOJ_2473.html) - [Loteria](https://github.com/potigol/beecrowd/blob/master/src/2400/2473.poti)
- [x] [2479](https://www.beecrowd.com.br/repository/UOJ_2479.html) - [Ordenando a Lista de Crianças do Papai Noel](https://github.com/potigol/beecrowd/blob/master/src/2400/2479.poti)
- [x] [2530](https://www.beecrowd.com.br/repository/UOJ_2530.html) - [Cola](https://github.com/potigol/beecrowd/blob/master/src/2500/2530.poti)
- [x] [2548](https://www.beecrowd.com.br/repository/UOJ_2548.html) - [Museu Virtual 3D](https://github.com/potigol/beecrowd/blob/master/src/2500/2548.poti)
- [x] [2556](https://www.beecrowd.com.br/repository/UOJ_2556.html) - [Reinauguração do CEI](https://github.com/potigol/beecrowd/blob/master/src/2500/2556.poti)
- [x] [2568](https://www.beecrowd.com.br/repository/UOJ_2568.html) - [Ações](https://github.com/potigol/beecrowd/blob/master/src/2500/2568.poti)
- [x] [2569](https://www.beecrowd.com.br/repository/UOJ_2569.html) - [A Bruxa do 7 x 1](https://github.com/potigol/beecrowd/blob/master/src/2500/2569.poti)
Expand Down Expand Up @@ -598,7 +599,6 @@
- [ ] [2513](https://www.beecrowd.com.br/repository/UOJ_2513.html) - Xoringan
- [ ] [2515](https://www.beecrowd.com.br/repository/UOJ_2515.html) - Bolacha
- [ ] [2536](https://www.beecrowd.com.br/repository/UOJ_2536.html) - FHBZMIPS
- [ ] [2548](https://www.beecrowd.com.br/repository/UOJ_2548.html) - Museu Virtual 3D
- [ ] [2564](https://www.beecrowd.com.br/repository/UOJ_2564.html) - Troca ou Não Troca
- [ ] [2565](https://www.beecrowd.com.br/repository/UOJ_2565.html) - Tubos de Ensaio
- [ ] [2567](https://www.beecrowd.com.br/repository/UOJ_2567.html) - Virus
Expand Down
8 changes: 8 additions & 0 deletions src/2500/2548.poti
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
var a := leia_inteiros(" ")
enquanto não eof faça
m = a[2]
v = leia_inteiros(" ")
soma = v.ordene.inverta.pegue(m).injete(0)(_ + _)
escreva soma
a := leia_inteiros(" ")
fim
4 changes: 2 additions & 2 deletions src/2500/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Problemas 2500 (34%)
# Problemas 2500 (35%)

- [ ] [2500](https://www.beecrowd.com.br/repository/UOJ_2500.html) - William Xorando *Matemática*
- [ ] [2501](https://www.beecrowd.com.br/repository/UOJ_2501.html) - Fatores Permitidos *Paradigmas*
Expand Down Expand Up @@ -48,7 +48,7 @@
- [ ] [2545](https://www.beecrowd.com.br/repository/UOJ_2545.html) - Manyfile *Grafos*
- [ ] [2546](https://www.beecrowd.com.br/repository/UOJ_2546.html) - Mesada *Estruturas e Bibliotecas*
- [x] [2547](https://www.beecrowd.com.br/repository/UOJ_2547.html) - [Montanha-Russa](https://github.com/potigol/beecrowd/blob/master/src/2500/2547.poti) *Iniciante*
- [ ] [2548](https://www.beecrowd.com.br/repository/UOJ_2548.html) - Museu Virtual 3D *Ad-Hoc*
- [x] [2548](https://www.beecrowd.com.br/repository/UOJ_2548.html) - [Museu Virtual 3D](https://github.com/potigol/beecrowd/blob/master/src/2500/2548.poti) *Ad-Hoc*
- [ ] [2549](https://www.beecrowd.com.br/repository/UOJ_2549.html) - Nomes de Usuários *Strings*
- [ ] [2550](https://www.beecrowd.com.br/repository/UOJ_2550.html) - Novo Campus *Grafos*
- [x] [2551](https://www.beecrowd.com.br/repository/UOJ_2551.html) - [Novo Recorde](https://github.com/potigol/beecrowd/blob/master/src/2500/2551.poti) *Iniciante*
Expand Down

0 comments on commit a4e656a

Please sign in to comment.