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
<a>asdasd</a> |
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
package fibonacci; | |
public class FibonacciRecursivo { | |
// Desconsiderando o "0" do Fibonacci | |
int calculaFibonacci(int posicao) { | |
if(posicao <= 2){ | |
return posicao; | |
} else { | |
return calculaFibonacci(posicao - 1) + calculaFibonacci(posicao - 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
package lista; | |
public class ListaSequencial { | |
private int fim = -1; | |
private int[] lista; | |
public ListaSequencial(int tamanho) { | |
lista = new int[tamanho]; |
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 <windows.h> | |
#include <iostream> | |
using namespace std; | |
typedef MCIERROR WINAPI (*CDROM)(const char*,char*,unsigned,HWND); | |
CDROM pCD; | |
void AbrirCD() | |
{ |