Borderou de evaluare (job #1834457)

Utilizator RSorinRadu Sorin Gabriel RSorin Data 24 decembrie 2016 17:18:31
Problema Roata Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 16

Raport evaluator

Compilare: user.c:11:1: warning: useless storage class specifier in empty declaration [enabled by default] }; ^ user.c: In function ‘main’: user.c:49:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fin,"%d",&p); ^ user.c:74:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fin,"%d",&x); ^ user.c:102:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(fout,"%ld",a); ^ user.c:110:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fin,"%d",&roata[i].nrrotiri); ^ user.c:122:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout,"%d ",roata[a].nrord); ^ user.c:47:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ user.c:48:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%*c"); ^ user.c:49:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&p); ^ user.c:50:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%*c"); ^ user.c:59:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld",&roata[i].nrrotiri); ^ user.c:65:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld",&x); ^ user.c:74:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&x); ^ user.c:92:23: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld",&roata[a].nrrotiri); ^ user.c:110:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&roata[i].nrrotiri); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit264kbTime limit exceeded.0
20ms272kbCerinta 1 corecta !1
30ms268kbCerinta 1 corecta !1
40ms276kbCerinta 1 corecta !1
50ms272kbOK!5
6Depăşit264kbTime limit exceeded.0
70ms276kbCerinta 1 corecta !1
80ms272kbCerinta 2 incorecta !3
90ms272kbCerinta 1 corecta !1
100ms272kbCerinta 1 corecta !1
1160ms272kbCerinta 1 corecta !1
1252ms268kbCerinta 1 corecta !1
13Depăşit272kbTime limit exceeded.0
14Depăşit272kbTime limit exceeded.0
15Depăşit264kbTime limit exceeded.0
16Depăşit272kbTime limit exceeded.0
17Depăşit268kbTime limit exceeded.0
18Depăşit268kbTime limit exceeded.0
19Depăşit272kbTime limit exceeded.0
20Depăşit272kbTime limit exceeded.0
Punctaj total16

Ceva nu functioneaza?