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
#include <stdio.h> | |
int main() { | |
int i; | |
for(i = 1005; i < 3500; i += 15) { | |
printf("%d\n", i); | |
} | |
return 0; |
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
#include <stdio.h> | |
int main() { | |
int i = 5; | |
// Usando i++ | |
printf("%d\n", i++); // => Primeiro incremento | |
printf("%d\n", i++); // => Segundo incremento | |
printf("%d\n", i); | |
printf("%d\n", i); |
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
/* | |
* Problem: https://www.urionlinejudge.com.br/judge/en/problems/view/1010 | |
* | |
*/ | |
#include <stdio.h> | |
int main() { | |
int code_one, code_two, units_one, units_two; | |
float price_one, price_two, total; |
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
/* | |
* Problem: https://www.urionlinejudge.com.br/judge/en/problems/view/1009 | |
* | |
*/ | |
#include <stdio.h> | |
int main() { | |
char *name; | |
float salary, sale_total, total; |
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
lol. |
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
ba |
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
interactor :off | |
notification :off | |
guard :shell do | |
watch(%r{^test/(.+)_test\.rb$}) { task } | |
watch(%r{^lib/(.+)\.rb$}) { task } | |
watch('Guardfile') { task } | |
end | |
def task |
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
998765432 | |
22345678 | |
9.9876.5432 | |
2234.5678 | |
22.34.5678 | |
99876-5432 | |
2234-5678 | |
998-765-432 | |
998.765.432 | |
2234 5678 |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Loteria</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var numerosJogador = [] | |
, numerosAleatorios = [] |
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
function calculaDiasDeVida(idade) { | |
return idade * 365; | |
} | |
function calculaBatimentos(dias) { | |
return dias * 24 * 60 * 80; | |
} | |
var idade = 17; |