Borderou de evaluare (job #2166349)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 13 martie 2018 16:44:58
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
14ms2976kbOK10
24ms2704kbOK10
34ms2796kbOK10
428ms4160kbOK10
532ms4836kbOK10
676ms4292kbOK10
792ms4528kbOK10
872ms6128kbOK10
968ms6660kbPermutarea nu este sortata0
1092ms4700kbOK10
Punctaj total90

Ceva nu functioneaza?