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
public int position(Elt e){ | |
int result ; | |
if (contient(e)) { | |
result = positionSiContient(e); | |
} | |
else { | |
result = 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
DOSSEG | |
.MODEL SMALL | |
.STACK 100h | |
.DATA | |
mes DB 'VEUILLEZ ENTRER UN MESSAGE DE MAX 254 CARACTERES' , '$' | |
buf DB 255,?, 255 (?) | |
.CODE | |
deb: | |
mov ax,@data | |
mov ds,ax |
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
public class Polynome { | |
private double[] coefficients; | |
private int degre; | |
/** | |
* Le constructeur construit le polynôme canonique du degré passé en | |
* paramètre (x^degré) | |
*/ | |
public Polynome(int degre) throws ArgumentInvalideException { | |
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
public class Polynome { | |
private double[] coefficients; | |
private int degre; | |
/** | |
* Le constructeur construit le polynôme canonique du degré passé en | |
* paramètre (x^degré) | |
*/ | |
public Polynome(int degre) throws ArgumentInvalideException { | |
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
public Matrice pageRank() { | |
// 0. Virer si pas carré | |
if (!this.carree()) | |
throw new MathException("Pas carrée"); | |
// 1. vérification matrice avec que des 0 et des 1 | |
for (int i = 0 ; i < nbLignes ; i++) { | |
for (int j= 0 ; j < nbColonnes ; j++) { | |
if (data[i][j] != 0.0 && data[i][j] != 1.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
# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working | |
RewriteBase / | |
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} dino-ferma\.96\.lt [NC] | |
RewriteRule .* - [F] | |
# DO NOT REMOVE THIS LINE AND THE LINES BELOW HOTLINKID:SyGytuRuSu | |
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} !^http://dino-build.zz.mu/.*$ [NC] |
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 lang="fr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dino-Build</title> | |
<link rel="stylesheet" type="text/css" media="all" | |
href="views/css/page.css" /> | |
<link rel='stylesheet' href='http://s.codepen.io/assets/reset/reset.css'> |
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
/** Classe Suite | |
*/ | |
import java.util.*; | |
import java.io.*; | |
public class Suite extends SuiteDeBase { | |
// valeur numérique de MAXELT | |
private static final int MAX = Elt.MAXELT.val(); |
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<limits.h> | |
/*Version 1 - Nombre à un chiffre*/ | |
int n; | |
int main(){ | |
int nombre; | |
int factorielle; |
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
/* Version 2 */ | |
int n; | |
int main(){ | |
int nombre; | |
int unite; | |
double factorielle; | |
OlderNewer