Borderou de evaluare (job #2026892)

Utilizator osiaccrCristian Osiac osiaccr Data 25 septembrie 2017 12:03:29
Problema Path Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:45:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (d[x].Max > curr.Max) { ^ user.cpp:46:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] curr.Max = d[x].Max; ^ user.cpp:47:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] curr.nr = d[x].nr; ^ user.cpp:49:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (d[x].Max == curr.Max) ^ user.cpp:50:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] curr.nr += d[x].nr; ^ 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;
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbOK10
20ms404kbOK10
30ms404kbOK10
40ms416kbOK10
50ms408kbOK10
60ms412kbOK10
70ms412kbOK10
80ms408kbOK10
90ms408kbOK10
100ms408kbOK10
Punctaj total100

Ceva nu functioneaza?