Pagini recente » Borderou de evaluare (job #2334920) | Borderou de evaluare (job #1478567) | Borderou de evaluare (job #1478524) | Borderou de evaluare (job #2437694) | Borderou de evaluare (job #2817759)
Borderou de evaluare (job #2817759)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, const Graf&)':
main.cpp:153:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
153 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BFS(int)':
main.cpp:209:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
209 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:199:12: warning: unused variable 'y' [-Wunused-variable]
199 | int x, y;
| ^
main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:224:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
224 | 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:253:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
253 | 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:313:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
313 | for (int i = 1; i < lisAdiacenta[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static bool Graf::existaGraf(std::vector<int>&)':
main.cpp:374:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
374 | for (int i = 0; i < copieGrade.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:389:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
389 | if (fst > grade.size()) { //daca avem un grad mai mare decat numarul de noduri ramase
| ~~~~^~~~~~~~~~~~~~
main.cpp:402:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
402 | 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:421:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
421 | for (int i = 1; i < lisAdiacenta[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::Dijkstra(int)':
main.cpp:466:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
466 | for (int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BellmanFord(int)':
main.cpp:492:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
492 | 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:514:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<muchie> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
514 | 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 | 188kb | Corect | 10 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 2ms | 184kb | Corect | 10 |
6 | 11ms | 1265kb | Corect | 10 |
7 | 20ms | 1986kb | Corect | 10 |
8 | 400ms | 33882kb | Time limit exceeded | 0 |
9 | 210ms | 18018kb | Corect | 10 |
10 | 290ms | 25931kb | Corect | 10 |
Punctaj total | 90 |