Pagini recente » Borderou de evaluare (job #3264469) | Borderou de evaluare (job #1537222) | Borderou de evaluare (job #905429) | Borderou de evaluare (job #3273390) | Borderou de evaluare (job #2809252)
Borderou de evaluare (job #2809252)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> Graf::bfs(int)':
main.cpp:174:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for(int i = 0; i < listaAdiacenta[nodCurent].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::sortareTopologica(std::vector<int>&)':
main.cpp:206:26: 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 = 0; i < listaAdiacenta[nodCurent].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graf::criticalConnections(int, std::vector<std::vector<int> >&)':
main.cpp:466:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
466 | for(int i = 0; i < connections.size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In constructor 'Disjoint::Disjoint(int, int)':
main.cpp:67:23: warning: 'Disjoint::numarOperatii' will be initialized after [-Wreorder]
67 | int numarMultimi, numarOperatii;
| ^~~~~~~~~~~~~
main.cpp:67:9: warning: 'int Disjoint::numarMultimi' [-Wreorder]
67 | int numarMultimi, numarOperatii;
| ^~~~~~~~~~~~
main.cpp:725:1: warning: when initialized here [-Wreorder]
725 | Disjoint::Disjoint(int numarMultimi, int numarOperatii) : numarOperatii(numarOperatii), numarMultimi(numarMultimi) {}
| ^~~~~~~~
main.cpp: In function 'void rezolvareBiconex()':
main.cpp:946:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
946 | for(int i = 0; i < nrComponenteBiconexe; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:947:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
947 | for(int j = 0; j < componenteBiconexe[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void rezolvareCTC()':
main.cpp:986:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
986 | for(int i = 0; i < nrComponenteTareConexe; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:987:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
987 | for(int j = 0; j < componenteTareConexe[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void rezolvareBellmanFord()':
main.cpp:1215:65: warning: unused variable 'nodStart' [-Wunused-variable]
1215 | int noduri, muchii, extremitateInitiala, extremitateFinala, nodStart;
| ^~~~~~~~
main.cpp: In member function 'std::pair<int, int> Graf::maximVector(std::vector<int>)':
main.cpp:851:35: warning: 'pozitie' may be used uninitialized in this function [-Wmaybe-uninitialized]
851 | return {valoareMaxima, pozitie};
| ^
main.cpp: In member function 'int Graf::diametruArbore()':
main.cpp:836:33: warning: 'pozitie' may be used uninitialized in this function [-Wmaybe-uninitialized]
836 | return distante[ultimulCapat] + 1;
| ^
main.cpp:832:31: warning: 'pozitie' may be used uninitialized in this function [-Wmaybe-uninitialized]
832 | distante = bfs(primulCapat);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 5857kb | OK | 10 |
2 | 11ms | 5885kb | OK | 10 |
3 | 11ms | 5861kb | OK | 10 |
4 | 11ms | 5881kb | OK | 10 |
5 | 20ms | 6197kb | OK | 10 |
6 | 54ms | 7127kb | OK | 10 |
7 | 73ms | 7663kb | OK | 10 |
8 | 115ms | 8605kb | OK | 10 |
9 | 83ms | 8835kb | Killed by Signal 11 | 0 |
10 | 153ms | 9428kb | OK | 10 |
Punctaj total | 90 |