Borderou de evaluare (job #3121051)

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

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:73:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for (int i = 0; i < grafInv[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:125:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 125 | for (int j = 0; j < componente[i].size() && !areBerarie; ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ 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:137:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 137 | for (int j = 0; j < componente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ 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 k = 0; k < graf[componente[i][j]].size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:150:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 150 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:158:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 158 | for (int j = 0; j < grafInvComponente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:173:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 173 | for (int j = 0; j < grafInvComponente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:179:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 179 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:195:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (int i = 0; i < grafInvComponente[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:206:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 206 | for (int i = 1; i < componente.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp:210:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 210 | for (int j = 0; j < componente[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:220:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < sol.size(); ++i) | ~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms557kbOK5
29ms557kbOK5
39ms557kbOK5
49ms557kbIncorect0
59ms557kbIncorect0
69ms557kbIncorect0
79ms557kbIncorect0
89ms557kbOK5
99ms557kbIncorect0
109ms2129kbIncorect0
1114ms2248kbIncorect0
1229ms3448kbOK5
13352ms19730kbOK5
1419ms8863kbIncorect0
15302ms24961kbOK5
1699ms65552kbMemory limit exceeded0
17104ms66154kbMemory limit exceeded0
1899ms65822kbMemory limit exceeded0
1998ms65576kbMemory limit exceeded0
2099ms65576kbMemory limit exceeded0
Punctaj total35

Ceva nu functioneaza?