Borderou de evaluare (job #1421243)

Utilizator UPB_BrogrammersUPB GHEORGHE MINCU SIMION UPB_Brogrammers Data 19 aprilie 2015 11:07:38
Problema Produs4 Status done
Runda ONIS 2015, Runda 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &t); ^ user.cpp:42:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^ user.cpp:44:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &v[j]); ^ user.cpp:21:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] vizitat[poz] = 1; ^ user.cpp:13:24: note: ‘poz’ was declared here int min = 2000001, poz; ^ user.cpp:21:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] vizitat[poz] = 1; ^ user.cpp:13:24: note: ‘poz’ was declared here int min = 2000001, poz; ^ user.cpp:34:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] vizitat[poz] = 1; ^ user.cpp:26:25: note: ‘poz’ was declared here int max = -2000001, poz; ^ user.cpp:34:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] vizitat[poz] = 1; ^ user.cpp:26:25: note: ‘poz’ was declared here int max = -2000001, poz; ^ user.cpp:34:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] vizitat[poz] = 1; ^ user.cpp:26:25: note: ‘poz’ was declared here int max = -2000001, poz; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
192ms680kbIncorect0
Punctaj total0

Ceva nu functioneaza?