Borderou de evaluare (job #2026880)

Utilizator osiaccrCristian Osiac osiaccr Data 25 septembrie 2017 11:50:45
Problema Path Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘sol dfs(int)’: user.cpp:40:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < N[nod].size (); i++) { ^ user.cpp:42:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (viz[x] == 0) { ^ user.cpp: In function ‘void drum(int, int)’: user.cpp:59:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < N[nod].size (); i++) { ^ user.cpp:61:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[vecin] == 0 && d[nod].Max - 1 == d[vecin].Max) { ^ user.cpp:61:55: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[vecin] == 0 && d[nod].Max - 1 == d[vecin].Max) { ^ user.cpp:62:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (sc + d[vecin].nr < k) ^ user.cpp:63:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] sc += d[vecin].nr; ^ user.cpp: In function ‘int main()’: user.cpp:79:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] N[code (x[0])].push_back (code (x[2])); ^ user.cpp:80:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (t[code (x[0])] == 0) ^ user.cpp:81:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[code (x[0])] = 1; ^ user.cpp:82:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[code (x[2])] = 2; ^ user.cpp: In function ‘sol dfs(int)’: user.cpp:50:31: warning: ‘temp.sol::nr’ may be used uninitialized in this function [-Wmaybe-uninitialized] curr.nr += temp.nr; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbIncorect0
20ms400kbIncorect0
30ms396kbIncorect0
40ms412kbIncorect0
50ms412kbIncorect0
60ms416kbIncorect0
70ms408kbIncorect0
80ms408kbIncorect0
90ms404kbIncorect0
100ms412kbIncorect0
Punctaj total0

Ceva nu functioneaza?