Pagini recente » Borderou de evaluare (job #690035) | Borderou de evaluare (job #3258357) | Borderou de evaluare (job #3147122) | Borderou de evaluare (job #3193233) | Borderou de evaluare (job #2809250)
Borderou de evaluare (job #2809250)
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 | 6ms | 2510kb | Incorect | 0 |
2 | 6ms | 2502kb | Incorect | 0 |
3 | 6ms | 2527kb | Incorect | 0 |
4 | 6ms | 2514kb | Incorect | 0 |
5 | 16ms | 3383kb | Incorect | 0 |
6 | 49ms | 4317kb | Incorect | 0 |
7 | 73ms | 4849kb | Incorect | 0 |
8 | 78ms | 5472kb | Killed by Signal 11 | 0 |
9 | 73ms | 5943kb | Killed by Signal 11 | 0 |
10 | 101ms | 6266kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |