Borderou de evaluare (job #2166383)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 13 martie 2018 16:51:00
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:26:16: warning: ‘nmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(prev[ind] > 0) print(prev[ind]); ^ user.cpp:77:23: note: ‘nmax’ was declared here int max = -1, nmax; ^ 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
14ms3296kbOK10
24ms3436kbOK10
38ms3296kbOK10
428ms4644kbOK10
532ms4836kbOK10
680ms4276kbOK10
7100ms4596kbOK10
872ms6308kbOK10
976ms6564kbWrong Answer0
1096ms4544kbOK10
Punctaj total90

Ceva nu functioneaza?