Borderou de evaluare (job #3121052)

Utilizator Razvan48Capatina Razvan Nicolae Razvan48 Data 10 aprilie 2023 17:21:57
Problema Berarii2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 55

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:50:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < graf[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void dfsInv(int)': main.cpp:80:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 80 | for (int i = 0; i < grafInv[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:135:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 135 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:139:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 139 | for (int j = 0; j < componente[i].size() && !areBerarie; ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:149:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:151:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for (int j = 0; j < componente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:153:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (int k = 0; k < graf[componente[i][j]].size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:164:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 164 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:172:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 172 | for (int j = 0; j < grafInvComponente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:187:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 187 | for (int j = 0; j < grafInvComponente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:193:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 193 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:209:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 209 | for (int i = 0; i < grafInvComponente[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:220:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:224:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 224 | for (int j = 0; j < componente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:234:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 234 | for (int i = 0; i < sol.size(); ++i) | ~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms557kbOK5
29ms557kbOK5
39ms557kbIncorect0
49ms557kbOK5
59ms557kbIncorect0
69ms557kbOK5
79ms557kbOK5
89ms557kbOK5
99ms557kbIncorect0
109ms2453kbOK5
1114ms2781kbIncorect0
1224ms2899kbOK5
13133ms13049kbOK5
1419ms9433kbOK5
15203ms19099kbOK5
16108ms66281kbMemory limit exceeded0
1799ms65851kbMemory limit exceeded0
1899ms65654kbMemory limit exceeded0
19103ms66248kbMemory limit exceeded0
20104ms66355kbMemory limit exceeded0
Punctaj total55

Ceva nu functioneaza?