Pagini recente » Borderou de evaluare (job #845358) | Borderou de evaluare (job #2137919) | Borderou de evaluare (job #1481177) | Borderou de evaluare (job #2333558) | Borderou de evaluare (job #2821623)
Borderou de evaluare (job #2821623)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&)':
main.cpp:124:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
124 | for(int i = 1; i < lista_vecini[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::hakimi(int, std::vector<int>&, std::ostream&)':
main.cpp:176:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
176 | if(aux > lista.size())
| ~~~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::DFS_sortaret(std::queue<int>&)':
main.cpp:196:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
196 | for(int j = 1; j < lista_vecini[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:206:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
206 | for(int i = 1; i < lista_vecini[aux].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:213:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::queue<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
213 | if(nr_noduri == lista.size())
| ~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::darb(int, int*, bool*, std::queue<int>, int&, int&)':
main.cpp:344:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
344 | for(i = 0; i < lista_vecini[el].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void pb_biconex()':
main.cpp:439:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
439 | for(int i = 0; i < componente_biconexe.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:443:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
443 | for(int j = 0; j < componente_biconexe[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:429:15: warning: unused variable 'nr_biconexe' [-Wunused-variable]
429 | int N, M, nr_biconexe = 0;
| ^~~~~~~~~~~
main.cpp: In function 'void pb_apm()':
main.cpp:545:25: warning: unused variable 'cost1' [-Wunused-variable]
545 | int N, M, cost = 0, cost1 = 0;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Componente biconexe: numar gresit | 0 |
2 | 2ms | 184kb | Componente biconexe: numar gresit | 0 |
3 | 2ms | 184kb | Componente biconexe: numar gresit | 0 |
4 | 6ms | 1622kb | Componente biconexe: numar gresit | 0 |
5 | 6ms | 1785kb | Componente biconexe: numar gresit | 0 |
6 | 58ms | 12324kb | Componente biconexe: numar gresit | 0 |
7 | 121ms | 19206kb | Componente biconexe: numar gresit | 0 |
8 | 401ms | 115961kb | Time limit exceeded | 0 |
9 | 401ms | 133627kb | Time limit exceeded | 0 |
10 | 400ms | 92667kb | Time limit exceeded | 0 |
Punctaj total | 0 |