Borderou de evaluare (job #1433877)

Utilizator theprdvtheprdv theprdv Data 10 mai 2015 03:04:13
Problema Parcele Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.c: In function ‘buildtree’: user.c:139:16: warning: unused variable ‘p’ [-Wunused-variable] long i, j, k, p; ^ user.c: In function ‘compute’: user.c:268:16: warning: unused variable ‘p’ [-Wunused-variable] long i, j, k, p; ^ user.c: In function ‘readdata’: user.c:37:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(filein, "r", stdin); ^ user.c:38:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld", &dx, &dy, &n); ^ user.c:41:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld", &xsx[i], &ysx[i]); ^ user.c: In function ‘outputdata’: user.c:332:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(fileout, "w", stdout); ^ user.c: In function ‘locate’: user.c:191:2: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] return poz; ^ user.c: In function ‘compute’: user.c:316:5: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] k = addtotree(poz[k], k, narb, +1); ^ user.c:311:17: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] addtotree(poz[k], k, narb, -1); ^ user.c:292:5: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] k = addtotree(poz[k], k, narb, +1); ^ user.c:287:17: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] addtotree(poz[k], k, narb, -1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1072kbOK5
24ms1160kbOK5
30ms1080kbOK5
44ms1156kbOK5
50ms1092kbOK5
60ms1096kbOK5
74ms1160kbOK5
80ms1100kbOK5
94ms1152kbOK5
104ms1156kbOK5
114ms1160kbOK5
12376ms5168kbOK5
13484ms5160kbOK5
14440ms5160kbOK5
15424ms5164kbOK5
16372ms5168kbOK5
17676ms7232kbOK5
18Depăşit9212kbTime limit exceeded.0
19972ms9240kbOK5
20Depăşit9208kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?