This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Primeira instrucao: abrir o console do navegador, use f12 ou ctrl+shift+i | |
// Copiar o código abaixo, colar e pressionar enter | |
function typeArray(inputElement, stringArray) { | |
for (let i = 0; i < stringArray.length; i++) { | |
setTimeout(function() { | |
inputElement.value += stringArray[i]; //O input vai receber cada palavra que estiver dentro do stringArray | |
}, i * 300000); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
// https://judge.beecrowd.com/pt/problems/view/1168 | |
func main() { | |
quantidadeInput := 0 | |
// fmt.Println("Digite a quantidade de entradas") | |
fmt.Scanln(&quantidadeInput) |