Version fonctionnelle et testée processeur Secu, taf : NS

This commit is contained in:
Faure Paul 2021-07-16 16:07:44 +02:00
parent 58be4fb135
commit 1664672bcf
5 changed files with 16 additions and 16 deletions

@ -1 +1 @@
Subproject commit 012f46f03cec55c7bdd50376861bc6cf86fde4b5
Subproject commit f1214cfd12d6735ba751f6f23dd61c79b92efe35

@ -1 +1 @@
Subproject commit a035a534e9af60372d695584389a547e9cb064cb
Subproject commit b6f5abf852d3c35b48f409db7db3b3ef08e9aebf

@ -1 +1 @@
Subproject commit 9e9dd66c3a5164987fc37082b69c62f28bd5784a
Subproject commit 084df4937324620a3651538fcf065d36353245fe

@ -1 +1 @@
Subproject commit 8b1dc18f3a1b93b760b560bca2c3e54a53de6ca0
Subproject commit 4ca8c3ee9afecc51a0e186b854a16a203c0954b3

View file

@ -5,23 +5,21 @@ int lire_tableau() {
int val = get();
int i = 1;
while (i<10) {
while (i<8) {
tab[5-i] = val;
i = i + 1;
}
i = 0;
while (i < 5) {
print("tab[");
print(i);
print("] = ");
print(tab[i]);
print("\n");
i = i + 1;
}
}
int youVeBeenHacked() {
print("YOU HAVE BEEN HACKED\n");
print("\0YOU HAVE BEEN HACKED\n\n");
print(" (__)\n");
print("(|) (00)\n");
print(" |--(__) \n");
print(" | _| _|\__/\n\n");
print("Yark Yark Yark");
while (1) {
}
}
int legitimeFunction() {
@ -33,6 +31,8 @@ int main() {
int a = 0;
int b = 0;
lire_tableau();
legitimeFunction();
youVeBeenHacked();
print("a=");
print(a);
print("\n");
}