Borderou de evaluare (job #1882215)

Utilizator andra1782Andra Alazaroaie andra1782 Data 17 februarie 2017 00:20:30
Problema Pluricex Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘verif’: user.c:9:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(j=1; j<=t[v[i]][0]; j++) ^ user.c:10:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[t[v[i]][j]]=1; ^ user.c:10:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c: In function ‘main’: user.c:41:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] fscanf(fin,"%d%d%d",&n,&k,&d); ^ user.c:41:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:41:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘char *’ [-Wformat=] user.c:43:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] fscanf(fin,"%d",&t[i][0]); ^ user.c:45:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] fscanf(fin,"%d",&t[i][j]); ^ user.c:41:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d",&n,&k,&d); ^ user.c:43:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&t[i][0]); ^ user.c:45:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&t[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms268kbOK10
30ms268kbOK10
444ms272kbOK10
50ms268kbOK10
616ms268kbOK10
70ms268kbOK10
848ms264kbOK10
936ms268kbOK10
100ms264kbOK10
Punctaj total100

Ceva nu functioneaza?