Pagini recente » Borderou de evaluare (job #1519666) | Borderou de evaluare (job #1739573) | Borderou de evaluare (job #1979481) | Borderou de evaluare (job #832334) | Borderou de evaluare (job #2817761)
Borderou de evaluare (job #2817761)
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::vector<std::vector<int> >&, 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:309:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
309 | for (int i = 1; i < lisAdiacenta[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static bool Graf::existaGraf(std::vector<int>&)':
main.cpp:370:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
370 | for (int i = 0; i < copieGrade.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:385:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
385 | if (fst > grade.size()) { //daca avem un grad mai mare decat numarul de noduri ramase
| ~~~~^~~~~~~~~~~~~~
main.cpp:398:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
398 | 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:417:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
417 | for (int i = 1; i < lisAdiacenta[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::Dijkstra(int)':
main.cpp:462:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
462 | for (int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BellmanFord(int)':
main.cpp:488:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
488 | 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:510:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<muchie> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
510 | 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 | 262kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 2ms | 184kb | Corect | 10 |
6 | 11ms | 1175kb | Corect | 10 |
7 | 25ms | 1966kb | Corect | 10 |
8 | 404ms | 30474kb | Time limit exceeded | 0 |
9 | 225ms | 15691kb | Corect | 10 |
10 | 296ms | 21438kb | Corect | 10 |
Punctaj total | 90 |