Comments (5)
Eu faria o seguinte:
Gerar uma lista (pode ser até um arquivo txt)
onde tem uma lista de pessoas ordenadas por ID_pessoa;ID_pessoa;ID_pessoa
e se comportar em padrão de fila, sempre que inserir um novo numero, remover o primeiro
Exemplo:
Willian;Natalia;Andre
Insert_fila(Marcos)
Output: Natalia;Andre;Marcos
Assim, evitamos de um flood.
Só teremos flood se ouver um complo kkkkkkkkkkk
from benderbot.
Oi, André! Acredito que é possível sim! Tem alguma dica do que poderia ser usado para resolver este problema? Inicialmente estou pensando em usar um arquivo json onde essa lista ficará armazenada, mas qualquer dica é bem vinda.
from benderbot.
@NataliaCarvalho03 acho essa ideia boa e simples. O que acha @Willianjesusdasilva ?
from benderbot.
é mole
from benderbot.
Bueno, senhores, se estamos em acordo, irei atribuir esta tarefa a mim rsrs.
from benderbot.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benderbot.