Borderou de evaluare (job #2881545)

Utilizator NedusNedelcu Alexandru Nedus Data 30 martie 2022 16:10:49
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:23:17: error: 'k' undeclared (first use in this function) 23 | for(k=1;k<=vo[i][j];k++) | ^ main.c:23:17: note: each undeclared identifier is reported only once for each function it appears in 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?