Suppression .o

This commit is contained in:
Paul Faure 2021-05-27 12:22:23 +02:00
parent 696c16c9d5
commit c2a70038ea
2 changed files with 39 additions and 10 deletions

View file

@ -1,15 +1,44 @@
int g(int o){ int get_value() {
int j = o * 2; int i = 0;
return j; while (i<5) {
printf(0);
stop(1);
printf(255);
stop(1);
i = i+1;
}
stop(15);
i = get();
return i;
} }
int max(int * tab, int size) {
int f(int p){ int i = 0;
int y = p + 2; int max = 0;
return y - 5 + g(1); while (i<size) {
if (tab[i] > max) {
max = tab[i];
}
i = i+1;
}
return max;
} }
int main(){ int main() {
int a = 7; int tab[10];
int c = f(a); int i = 0;
while (i<10) {
tab[i] = get_value();
i = i+1;
}
i = 0;
while (i<5) {
printf(170);
stop(1);
printf(85);
stop(1);
i = i+1;
}
stop(3);
printf(max(tab, 10));
} }

Binary file not shown.