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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript" src="main.js"></script> | |
<style type="text/css"> | |
html, body { | |
margin: 0px; | |
} |
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
CXX=g++ | |
FLAGS=-Wall | |
LFLAGS=-lglut -lGL -lGLU | |
SRC=. | |
EXEC=. | |
SRCS=$(wildcard $(SRC)/*.cpp) | |
EXECS=$(SRCS:$(SRC)/%.cpp=$(EXEC)/%.out) |
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
import java.io.*; | |
import java.util.*; | |
public class Huffman{ | |
/** | |
* Représente un noeud pour un arbre binaire | |
* | |
* Peut avoir une valeur, un nombre d'occurence, un fils gauche et un fils droit |
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
<?php | |
namespace app; | |
class Time | |
{ | |
private $startTime, $reponseTime; | |
public function __construct(){ | |
$this->startTime = microtime(true); |
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
read N | |
read tab[0] | |
for (( i=1; i<N; i++ )); do | |
read x | |
j=0 | |
k=$i | |
while [ $k -gt $j ] | |
do | |
m=$((($j+$k)/2)) | |
if [ $x -lt ${tab[$m]} ]; then |
NewerOlder