Skip to content

Commit

Permalink
Problema: 1690
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlucena committed Apr 29, 2024
1 parent 6fb8cbd commit 5f75ab5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
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-802-blue)](https://github.com/potigol/beecrowd/commits/master)
[![Soluções](https://img.shields.io/badge/Problemas%20Resolvidos-803-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/paradigmas.md
@@ -1,4 +1,4 @@
# Paradigmas (4 / 215)
# Paradigmas (5 / 215)



Expand All @@ -7,6 +7,7 @@
- [x] [1029](https://www.beecrowd.com.br/repository/UOJ_1029.html) - [Fibonacci, Quantas Chamadas?](https://github.com/potigol/beecrowd/blob/master/src/1000/1029.poti)
- [x] [1084](https://www.beecrowd.com.br/repository/UOJ_1084.html) - [Apagando e Ganhando](https://github.com/potigol/beecrowd/blob/master/src/1000/1084.poti)
- [x] [1166](https://www.beecrowd.com.br/repository/UOJ_1166.html) - [Torre de Hanoi, Novamente!](https://github.com/potigol/beecrowd/blob/master/src/1100/1166.poti)
- [x] [1690](https://www.beecrowd.com.br/repository/UOJ_1690.html) - [Soma de Sobconjuntos](https://github.com/potigol/beecrowd/blob/master/src/1600/1690.poti)
- [x] [2243](https://www.beecrowd.com.br/repository/UOJ_2243.html) - [Isósceles](https://github.com/potigol/beecrowd/blob/master/src/2200/2243.poti)

## Problemas não resolvidos
Expand Down Expand Up @@ -96,7 +97,6 @@
- [ ] [1685](https://www.beecrowd.com.br/repository/UOJ_1685.html) - Praça de Daniel
- [ ] [1687](https://www.beecrowd.com.br/repository/UOJ_1687.html) - Destrave o Celular
- [ ] [1689](https://www.beecrowd.com.br/repository/UOJ_1689.html) - Radares
- [ ] [1690](https://www.beecrowd.com.br/repository/UOJ_1690.html) - Soma de Sobconjuntos
- [ ] [1700](https://www.beecrowd.com.br/repository/UOJ_1700.html) - Antenas
- [ ] [1707](https://www.beecrowd.com.br/repository/UOJ_1707.html) - Jogo com Números
- [ ] [1720](https://www.beecrowd.com.br/repository/UOJ_1720.html) - Sonho de Mondriaan
Expand Down
11 changes: 11 additions & 0 deletions src/1600/1690.poti
@@ -0,0 +1,11 @@
t = leia_inteiro
para i de 1 até t faça
n = leia_inteiro
var num := leia_textos(" ").mapeie(a => BigInt(a)).ordene.mutável
var soma, i := BigInt(1), 1
enquanto i <= n e soma >= num[i] faça
soma := soma + num[i]
i := i + 1
fim
escreva soma
fim
4 changes: 2 additions & 2 deletions src/1600/README.md
@@ -1,4 +1,4 @@
# Problemas 1600 (7%)
# Problemas 1600 (8%)

- [ ] [1600](https://www.beecrowd.com.br/repository/UOJ_1600.html) - O Gato do Zelador do Armazém *Paradigmas*
- [ ] [1601](https://www.beecrowd.com.br/repository/UOJ_1601.html) - Partição do Rebanho *Paradigmas*
Expand Down Expand Up @@ -90,7 +90,7 @@
- [ ] [1687](https://www.beecrowd.com.br/repository/UOJ_1687.html) - Destrave o Celular *Paradigmas*
- [ ] [1688](https://www.beecrowd.com.br/repository/UOJ_1688.html) - Nim Intergalático *Matemática*
- [ ] [1689](https://www.beecrowd.com.br/repository/UOJ_1689.html) - Radares *Paradigmas*
- [ ] [1690](https://www.beecrowd.com.br/repository/UOJ_1690.html) - Soma de Sobconjuntos *Paradigmas*
- [x] [1690](https://www.beecrowd.com.br/repository/UOJ_1690.html) - [Soma de Sobconjuntos](https://github.com/potigol/beecrowd/blob/master/src/1600/1690.poti) *Paradigmas*
- [ ] [1691](https://www.beecrowd.com.br/repository/UOJ_1691.html) - Super Circunferência *Ad-Hoc*
- [ ] [1692](https://www.beecrowd.com.br/repository/UOJ_1692.html) - Curo Ataque *Grafos*
- [ ] [1693](https://www.beecrowd.com.br/repository/UOJ_1693.html) - Apenas Outro Problema de Física *Geometria Computacional*
Expand Down

0 comments on commit 5f75ab5

Please sign in to comment.