Borderou de evaluare (job #1744182)

Utilizator preda.andreiPreda Andrei preda.andrei Data 19 august 2016 13:54:24
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void aflaTimpuriMaxime(int, int)’: user.cpp:75:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[curent].timpMax = min(noduri[curent].timpMax, timpMin - noduri[curent].durata); ^ user.cpp:75:51: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[curent].timpMax = min(noduri[curent].timpMax, timpMin - noduri[curent].durata); ^ user.cpp:75:85: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[curent].timpMax = min(noduri[curent].timpMax, timpMin - noduri[curent].durata); ^ user.cpp:77:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (char v : noduri[curent].vecini) { ^ user.cpp:78:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[v].timpMax = min(noduri[v].timpMax, noduri[curent].timpMax - noduri[v].durata); ^ user.cpp:78:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[v].timpMax = min(noduri[v].timpMax, noduri[curent].timpMax - noduri[v].durata); ^ user.cpp:78:69: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[v].timpMax = min(noduri[v].timpMax, noduri[curent].timpMax - noduri[v].durata); ^ user.cpp:78:89: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[v].timpMax = min(noduri[v].timpMax, noduri[curent].timpMax - noduri[v].durata); ^ user.cpp: In function ‘int aflaTimpMinim(int)’: user.cpp:89:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] int timpNou = noduri[curent].timpMin + noduri[curent].durata; ^ user.cpp:89:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] int timpNou = noduri[curent].timpMin + noduri[curent].durata; ^ user.cpp:92:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (char c : noduri[curent].vecini) { ^ user.cpp:93:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[c].timpMin = max(noduri[c].timpMin, timpNou); ^ user.cpp:93:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[c].timpMin = max(noduri[c].timpMin, timpNou); ^ user.cpp: In function ‘void inverseazaGraf(int)’: user.cpp:104:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (!noduri[curent].vecini.empty()) { ^ user.cpp:105:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] char v = noduri[curent].vecini.back(); ^ user.cpp:106:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] noduri[curent].vecini.pop_back();
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK!10
20ms452kbOK!10
30ms456kbOK!10
40ms448kbOK!10
50ms468kbOK!10
60ms464kbOK!10
70ms452kbOK!10
80ms452kbOK!10
90ms456kbOK!10
100ms452kbOK!10
Punctaj total100

Ceva nu functioneaza?