Borderou de evaluare (job #2881546)

Utilizator NedusNedelcu Alexandru Nedus Data 30 martie 2022 16:11:31
Problema Custi Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'tranf': main.c:24:24: error: lvalue required as increment operand 24 | vo[k-1]++; | ^~ main.c: In function 'main': main.c:66:17: warning: passing argument 3 of 'tranf' makes pointer from integer without a cast [-Wint-conversion] 66 | tranf(vi,vo,n,vf); | ^ | | | int main.c:12:55: note: expected 'int *' but argument is of type 'int' 12 | void tranf(int vi[1000][1000], int vo[1000][1000],int vf[1000],int n){ | ~~~~^~~~~~~~ main.c:66:19: warning: passing argument 4 of 'tranf' makes integer from pointer without a cast [-Wint-conversion] 66 | tranf(vi,vo,n,vf); | ^~ | | | int * main.c:12:68: note: expected 'int' but argument is of type 'int *' 12 | void tranf(int vi[1000][1000], int vo[1000][1000],int vf[1000],int n){ | ~~~~^ Non zero exit status: 1

Ceva nu functioneaza?