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
/* Juros Sobre o Empréstimo - Problemas nº 2033 - Matematica | |
https://www.urionlinejudge.com.br/judge/pt/problems/view/2033 | |
Problema com Accepted */ | |
#include <iostream> | |
#include <iomanip> | |
#include <stdio.h> | |
#include <cmath> | |
using namespace std; |
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
/* Juros Sobre o Empréstimo - Problemas nº 2033 - Matematica | |
https://www.urionlinejudge.com.br/judge/pt/problems/view/2033 | |
Problema com Wrong answer (70%) */ | |
#include <stdio.h> | |
#include <math.h> | |
int main() | |
{ | |
int tempo; |
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> | |
#include <math.h> | |
int main() | |
{ | |
int tempo; | |
double capital, juroSimples, juroCompos, diferenca, expo; | |
double txJuros; | |
while(scanf("%lf", &capital) != EOF) |
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
/* Problema Difícil de Acreditar, Mas é Verdade! - Uri 1728 | |
Status - Accepted | |
By Antonio Abrantes */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main() | |
{ |
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> | |
#include <stdlib.h> | |
int main() | |
{ | |
int n, i; | |
scanf("%d",&n); | |
int soma = 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> | |
#include <stdlib.h> | |
#include <math.h> | |
int main() | |
{ | |
int n, i, temp, quad; | |
while(scanf("%d",&n) != EOF){ | |
if(n == 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> | |
#include <stdlib.h> | |
struct reg{ | |
int conteudo; | |
struct reg *prox; | |
}; | |
typedef struct reg celula; | |
void imprime (celula *le) { |
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> | |
#include <stdlib.h> | |
struct reg{ | |
int conteudo; | |
struct reg *prox; | |
}; | |
typedef struct reg celula; | |
void imprime (celula *le) { |
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> | |
#include <stdlib.h> | |
#include <conio.h> | |
typedef struct No{ | |
int conteudo; | |
struct No *prox; | |
}no; | |
no *aloca(){ |
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> | |
#include <stdlib.h> | |
int main() | |
{ | |
int fink = 0, pica = 0, comida = 0; | |
scanf("%d", &comida); | |
int i = 0; |
OlderNewer