Borderou de evaluare (job #1433857)

Utilizator theprdvtheprdv theprdv Data 10 mai 2015 01:52:43
Problema Parcele Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.c: In function ‘buildtree’: user.c:140:16: warning: unused variable ‘p’ [-Wunused-variable] long i, j, k, p; ^ user.c: In function ‘compute’: user.c:269:16: warning: unused variable ‘p’ [-Wunused-variable] long i, j, k, p; ^ user.c: In function ‘readdata’: user.c:38:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(filein, "r", stdin); ^ user.c:39:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld", &dx, &dy, &n); ^ user.c:42: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:333: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:192:2: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] return poz; ^ user.c: In function ‘compute’: user.c:317:5: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] k = addtotree(poz[k], k, narb, +1); ^ user.c:312:17: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] addtotree(poz[k], k, narb, -1); ^ user.c:293:5: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] k = addtotree(poz[k], k, narb, +1); ^ user.c:288: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
10ms1076kbOK5
24ms1168kbOK5
30ms1084kbOK5
44ms1164kbOK5
50ms1092kbOK5
60ms1104kbOK5
74ms1156kbOK5
80ms1096kbOK5
94ms1164kbOK5
104ms1168kbOK5
114ms1164kbOK5
12380ms5172kbOK5
13488ms5168kbOK5
14420ms5172kbOK5
15428ms5168kbOK5
16360ms5172kbOK5
17684ms7240kbOK5
18988ms9240kbOK5
19Depăşit9236kbTime limit exceeded.0
20Depăşit9216kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?