Borderou de evaluare (job #3333845)

Utilizator MateiDiaconuDiaconu Matei Stefan MateiDiaconu Data 15 ianuarie 2026 11:04:05
Problema Gramezi Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'swap': main.c:13:9: warning: assignment to 'int' from 'int *' makes integer from pointer without a cast [-Wint-conversion] 13 | aux = x; | ^ main.c:15:7: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 15 | y = aux; | ^ main.c: In function 'myqsort': main.c:46:9: error: too few arguments to function 'myqsort' 46 | myqsort(v, be, e); | ^~~~~~~ main.c:18:6: note: declared here 18 | void myqsort(int v[], int mod, int be, int en){ | ^~~~~~~ main.c:49:9: error: too few arguments to function 'myqsort' 49 | myqsort(v, e + 1, en); | ^~~~~~~ main.c:18:6: note: declared here 18 | void myqsort(int v[], int mod, int be, int en){ | ^~~~~~~ main.c: In function 'main': main.c:59:27: warning: unused variable 'poz' [-Wunused-variable] 59 | int n, i, s1, s2, p1, poz; | ^~~ main.c:59:23: warning: unused variable 'p1' [-Wunused-variable] 59 | int n, i, s1, s2, p1, poz; | ^~ main.c:59:19: warning: unused variable 's2' [-Wunused-variable] 59 | int n, i, s1, s2, p1, poz; | ^~ main.c:59:15: warning: unused variable 's1' [-Wunused-variable] 59 | int n, i, s1, s2, p1, poz; | ^~ main.c:55:17: warning: variable 'fout' set but not used [-Wunused-but-set-variable] 55 | FILE *fin, *fout; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?