Borderou de evaluare (job #2796604)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::out()':
main.cpp:39:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int j = 0 ; j < lista[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:102:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs(std::vector<bool>&, int)':
main.cpp:118:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconex()':
main.cpp:158:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
158 | for(int secondIndex = 0; secondIndex < lista[index].size(); secondIndex++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_biconex(std::vector<bool>&, int, int, int&, std::vector<int>&, std::vector<int>&)':
main.cpp:172:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
172 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
2 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
3 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
4 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
5 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
6 | 15ms | 708kb | Componente biconexe: numar gresit | 0 |
7 | 11ms | 1089kb | Componente biconexe: numar gresit | 0 |
8 | 210ms | 12963kb | Componente biconexe: numar gresit | 0 |
9 | 114ms | 7290kb | Componente biconexe: numar gresit | 0 |
10 | 254ms | 10481kb | Componente biconexe: numar gresit | 0 |
Punctaj total | 0 |