Borderou de evaluare (job #1055424)

Utilizator scipianusFMI Ciprian Olariu scipianus Data 14 decembrie 2013 11:23:30
Problema Brazi Status done
Runda ONIS 2014, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int DFS(int)’: user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] total += nr; ^ user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp: In function ‘int main()’: user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:13:10: note: ‘total’ was declared here int nr, total, now = 0; ^ user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] total += nr; ^ user.cpp:13:10: note: ‘total’ was declared here int nr, total, now = 0; ^ user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] total += nr; ^ user.cpp:13:10: note: ‘total’ was declared here int nr, total, now = 0; ^ user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] total += nr; ^ user.cpp:13:10: note: ‘total’ was declared here int nr, total, now = 0; ^ user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] total += nr; ^ user.cpp:13:10: note: ‘total’ was declared here int nr, total, now = 0; ^ user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] total += nr; ^ user.cpp:13:10: note: ‘total’ was declared here int nr, total, now = 0; ^ user.cpp:18:14: warning: ‘total’ may be used uninitialized in this function [-Wmaybe-uninitialized] total += nr; ^ user.cpp:13:10: note: ‘total’ was declared here int nr, total, now = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1416ms412kbIncorect0
Punctaj total0

Ceva nu functioneaza?