Borderou de evaluare (job #3121050)

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

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[nod].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
19ms557kbOK5
29ms557kbOK5
39ms557kbOK5
49ms557kbOK5
59ms544kbOK5
69ms557kbOK5
79ms557kbOK5
89ms557kbOK5
99ms557kbOK5
109ms2453kbOK5
1114ms2715kbOK5
1224ms3567kbOK5
13138ms13729kbOK5
1419ms9428kbOK5
15203ms22396kbOK5
1698ms65581kbMemory limit exceeded0
17104ms65847kbMemory limit exceeded0
1899ms65658kbMemory limit exceeded0
1999ms65818kbMemory limit exceeded0
2098ms65675kbMemory limit exceeded0
Punctaj total75

Ceva nu functioneaza?