Borderou de evaluare (job #1618316)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 27 februarie 2016 19:31:02
Problema Razboi 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:12:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^ user.cpp:31:23: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i=l, j=r+1; j<n; i++, j++){ ^ user.cpp:34:13: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized] n-=r-l+1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOk!10
20ms276kbOk!10
30ms268kbOk!10
40ms272kbGresit!0
50ms272kbBastion vid!0
60ms276kbSoldat inexistent!0
70ms268kbBastion vid!0
8Depăşit276kbTime limit exceeded.0
9Depăşit268kbTime limit exceeded.0
10Depăşit276kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?