Borderou de evaluare (job #1834455)

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

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:72:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fin,"%d",&x); ^ user.c:100:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(fout,"%ld",a); ^ 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:57:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld",&roata[i].nrrotiri); ^ user.c:63:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld",&x); ^ user.c:72:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&x); ^ user.c:91:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld",&roata[a].nrrotiri); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbCerinta 1 corecta !1
20ms288kbCerinta 1 corecta !1
30ms288kbCerinta 1 corecta !1
40ms288kbCerinta 1 corecta !1
50ms288kbOK!5
60ms292kbCerinta 1 corecta !1
70ms288kbCerinta 1 corecta !1
80ms292kbCerinta 2 incorecta !3
90ms288kbCerinta 1 corecta !1
100ms288kbCerinta 1 corecta !1
1160ms288kbCerinta 1 corecta !1
1252ms288kbCerinta 1 corecta !1
13Depăşit288kbTime limit exceeded.0
14Depăşit284kbTime limit exceeded.0
15Depăşit284kbTime limit exceeded.0
16Depăşit288kbTime limit exceeded.0
17Depăşit280kbTime limit exceeded.0
18Depăşit280kbTime limit exceeded.0
19Depăşit288kbTime limit exceeded.0
20Depăşit280kbTime limit exceeded.0
Punctaj total18

Ceva nu functioneaza?