Pagini recente » Borderou de evaluare (job #1105520) | Borderou de evaluare (job #1652882) | Borderou de evaluare (job #496560) | Borderou de evaluare (job #2044021) | Borderou de evaluare (job #2817715)
Borderou de evaluare (job #2817715)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, const Graf&)':
main.cpp:149:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
149 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BFS(int)':
main.cpp:206:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
206 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:196:12: warning: unused variable 'y' [-Wunused-variable]
196 | int x, y;
| ^
main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:221:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
221 | for(int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconexeDFS(int, int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::string&, int&, std::vector<bool>&)':
main.cpp:250:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
250 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::ctcDFS(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::vector<bool>&, std::vector<std::vector<int> >&)':
main.cpp:302:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
302 | for (int i = 1; i < lisAdiacenta[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static bool Graf::existaGraf(std::vector<int>&)':
main.cpp:363:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
363 | for (int i = 0; i < copieGrade.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:378:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
378 | if (fst > grade.size()) { //daca avem un grad mai mare decat numarul de noduri ramase
| ~~~~^~~~~~~~~~~~~~
main.cpp:391:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
391 | if(j >= grade.size()) //atunci cand scadem 1 valorile nu vor mai fi ordonate decat daca sunt egale initial
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::critConDFS(int, std::vector<bool>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:410:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
410 | for (int i = 1; i < lisAdiacenta[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::Dijkstra(int)':
main.cpp:455:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
455 | for (int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BellmanFord(int)':
main.cpp:481:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
481 | for (int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::pair<int, std::pair<int, int> > > Graf::findLisMuchii()':
main.cpp:503:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<muchie> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
503 | for(int i = 1; i < lisAdiacenta.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<int, std::vector<std::pair<int, int> > > Graf::Kruskal(std::vector<std::pair<int, std::pair<int, int> > >)':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Corect | 10 |
2 | 2ms | 192kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 2ms | 184kb | Corect | 10 |
6 | 11ms | 1208kb | Corect | 10 |
7 | 21ms | 2007kb | Corect | 10 |
8 | 400ms | 32788kb | Time limit exceeded | 0 |
9 | 215ms | 17940kb | Corect | 10 |
10 | 291ms | 25243kb | Corect | 10 |
Punctaj total | 90 |