Borderou de evaluare (job #2166430)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 13 martie 2018 17:04:23
Problema Move Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36: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:38: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:28:12: warning: ‘nmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] f[v[ind]] = 1; ^ user.cpp:53:19: note: ‘nmax’ was declared here int max = -1, nmax; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2852kbOK10
24ms2700kbOK10
34ms2904kbOK10
428ms4184kbOK10
532ms4760kbOK10
672ms4072kbOK10
792ms4388kbOK10
872ms5988kbOK10
968ms6484kbOK10
1096ms4564kbOK10
Punctaj total100

Ceva nu functioneaza?