Borderou de evaluare (job #1670690)

Utilizator justmehStoenica Robert justmeh Data 31 martie 2016 22:19:38
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.c: In function ‘heap_build’: user.c:45:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d",val); ^ user.c:45:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",val); ^ user.c: In function ‘main’: user.c:62:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.c:67:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&a); ^ user.c:71:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&a); ^ user.c: In function ‘heap_build’: user.c:45:14: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized] scanf("%d",val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK520
20ms264kbOK5
30ms264kbOK5
40ms268kbOK5
50ms284kbOK520
60ms276kbOK5
70ms316kbOK5
80ms284kbOK5
9124ms1832kbOK50
10772ms1824kbOK5
11Depăşit564kbTime limit exceeded.0
12Depăşit1284kbTime limit exceeded.0
13512ms5740kbOK50
14Depăşit848kbTime limit exceeded.0
15Depăşit560kbTime limit exceeded.0
16Depăşit1696kbTime limit exceeded.0
17732ms8080kbOK50
18Depăşit588kbTime limit exceeded.0
19Depăşit564kbTime limit exceeded.0
20Depăşit1708kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?