Borderou de evaluare (job #1010672)

Utilizator nod_softwareBudisteanu Ionut Alexandru nod_software Data 15 octombrie 2013 13:31:56
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘afisare’: user.c:8:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=] fprintf(fout,"%d ",v[i]); ^ user.c: In function ‘back’: user.c:23:18: warning: assignment makes pointer from integer without a cast [enabled by default] v[ik]=i; ^ user.c:24:24: warning: assignment makes pointer from integer without a cast [enabled by default] vVisited[i]=1; ^ user.c: In function ‘main’: user.c:52:5: warning: passing argument 1 of ‘back’ from incompatible pointer type [enabled by default] back(&vVector,&vVisited,0,iN,fout); ^ user.c:12:6: note: expected ‘int **’ but argument is of type ‘int (*)[8]’ void back(int *v[], int *vVisited[], int ik, int iN, FILE * fout) ^ user.c:52:5: warning: passing argument 2 of ‘back’ from incompatible pointer type [enabled by default] back(&vVector,&vVisited,0,iN,fout); ^ user.c:12:6: note: expected ‘int **’ but argument is of type ‘int (*)[9]’ void back(int *v[], int *vVisited[], int ik, int iN, FILE * fout) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK20
20ms240kbOK20
34ms236kbOK20
48ms240kbOK20
564ms240kbOK20
Punctaj total100

Ceva nu functioneaza?