Borderou de evaluare (job #3121043)

Utilizator Razvan48Capatina Razvan Nicolae Razvan48 Data 10 aprilie 2023 15:42:45
Problema Berarii2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | for (int i = 0; i < graf[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void dfsInv(int)': main.cpp:55:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 55 | for (int i = 0; i < grafInv[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:106:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 106 | for (int j = 0; j < componente[i].size() && !areBerarie; ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:116:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 116 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:118:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int j = 0; j < componente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:120:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for (int k = 0; k < graf[componente[i][j]].size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:131:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 131 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:139:31: 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 < grafInvComponente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int j = 0; j < grafInvComponente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:160:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 160 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:176:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 176 | for (int i = 0; i < grafInvComponente[i].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:187:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 187 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:191:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 191 | for (int j = 0; j < componente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:201:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 201 | for (int i = 0; i < sol.size(); ++i) | ~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms557kbIncorect0
29ms557kbIncorect0
39ms557kbIncorect0
49ms557kbIncorect0
59ms561kbIncorect0
69ms557kbIncorect0
79ms557kbIncorect0
89ms557kbIncorect0
99ms557kbIncorect0
109ms2453kbIncorect0
1114ms2715kbIncorect0
1224ms3698kbIncorect0
13133ms13717kbOK5
1419ms9433kbIncorect0
15208ms22396kbOK5
1699ms65699kbMemory limit exceeded0
17103ms66154kbMemory limit exceeded0
1898ms65761kbMemory limit exceeded0
19103ms66314kbMemory limit exceeded0
2099ms65871kbMemory limit exceeded0
Punctaj total10

Ceva nu functioneaza?