Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #1523274) | Borderou de evaluare (job #2797921)
Borderou de evaluare (job #2797921)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, const Graf&)':
main.cpp:109:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
109 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BFS(int)':
main.cpp:156:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:146:12: warning: unused variable 'y' [-Wunused-variable]
146 | int x, y;
| ^
main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:180:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
180 | for(int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static void Graf::existaGraf(std::vector<int>&, std::ostream&)':
main.cpp:223:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
223 | for (int i = 0; i < grade.size(); ++i)
| ~~^~~~~~~~~~~~~~
main.cpp:241:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
241 | if (fst > grade.size()) { //daca avem un grad mai mare decat numarul de noduri ramase
| ~~~~^~~~~~~~~~~~~~
main.cpp:255:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
255 | if(j >= grade.size())
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::tarjanDFS(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::vector<bool>&, std::vector<std::vector<int> >&)':
main.cpp:275:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
275 | for (int i = 1; i < lisAdiacenta[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::CTC(std::ostream&)':
main.cpp:311:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
311 | for (int i = 0; i < rez.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp:312:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
312 | for (int j = 0; j < rez[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 1ms | 184kb | Numar de componente gresit | 0 | 0 |
| 2 | 1ms | 184kb | Numar de componente gresit | 0 |
| 3 | 1ms | 184kb | Numar de componente gresit | 0 |
| 4 | 1ms | 184kb | Numar de componente gresit | 0 | 0 |
| 5 | 15ms | 471kb | Numar de componente gresit | 0 |
| 6 | 9ms | 643kb | Numar de componente gresit | 0 |
| 7 | 29ms | 2072kb | Numar de componente gresit | 0 | 0 |
| 8 | 150ms | 4849kb | Numar de componente gresit | 0 |
| 9 | 195ms | 11014kb | Numar de componente gresit | 0 |
| 10 | 232ms | 17059kb | Numar de componente gresit | 0 | 0 |
| Punctaj total | 0 |