Ajout eval final avec mips

This commit is contained in:
2016-04-01 11:43:25 +02:00
parent 4220e42d15
commit 0648a4006f
80 changed files with 11043 additions and 0 deletions

14
eval-fourni/input/eval2.l Normal file
View File

@@ -0,0 +1,14 @@
fibo( entier $n )
{
si $n < 2 alors {
retour 1;
}
sinon {
retour fibo( $n - 1 ) + fibo( $n - 2 );
}
}
main()
{
ecrire( fibo( lire() ) );
}