Borderou de evaluare (job #2166405)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 13 martie 2018 16:58:30
Problema Move Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &n); ^ user.cpp:37:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &v[i]); ^ user.cpp:27:12: warning: ‘nmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] f[v[ind]] = 1; ^ user.cpp:52:19: note: ‘nmax’ was declared here int max = -1, nmax; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2920kbOK10
24ms2752kbOK10
34ms3096kbOK10
428ms4232kbOK10
532ms4912kbOK10
676ms4352kbOK10
792ms4384kbOK10
872ms6036kbOK10
964ms6476kbPermutarea nu este sortata0
1096ms4548kbOK10
Punctaj total90

Ceva nu functioneaza?