This file contains hidden or 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
int n1[10], n2[10], i, j; | |
for (i = 1; i <= 10; i++) { | |
n2[i] = 0; | |
for (j = 1; j <= 10; j++) { | |
if (n1[i] == n1[j]) { | |
n2[i]++; // Não sei se funciona auto incremento no vetor, qualquer coisa 1+1 | |
} | |
} | |
if (n2[i] >= 2) { |
This file contains hidden or 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
// Escrevendo de 1 a 10 | |
algoritmo() { | |
x inteiro; | |
para x := 1 ate 10 passo 1 { | |
escreva(x); | |
} | |
} |
This file contains hidden or 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
#include <stdio.h> | |
int main() { | |
int p,q; //resto, mdcVlr; | |
printf("Informe P: \n"); | |
scanf("%d", &p); | |
printf("Informe Q: \n"); | |
scanf("%d", &q); | |
// resto = p % q; | |
// mdcVlr = q % resto; |
This file contains hidden or 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
'.source.js': | |
'Console log': | |
'prefix': 'log' | |
'body': 'console.log("$1", $1)' |
This file contains hidden or 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
// Restify Server CheatSheet. | |
// More about the API: http://mcavage.me/node-restify/#server-api | |
// Install restify with npm install restify | |
// 1.1. Creating a Server. | |
// http://mcavage.me/node-restify/#Creating-a-Server | |
var restify = require('restify'); |
This file contains hidden or 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
markmap | |
# Agregador de Vinis MVP | |
## Funcionalidades Essenciais | |
### Busca e Listagem | |
#### Busca por álbum/artista | |
#### Listagem de resultados | |
##### Título | |
##### Artista | |
##### Preço |
OlderNewer