Pagini recente » Borderou de evaluare (job #3156007) | Borderou de evaluare (job #1295898) | Borderou de evaluare (job #1663846) | Borderou de evaluare (job #1121489) | Borderou de evaluare (job #2808068)
Borderou de evaluare (job #2808068)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, const GrafFaraCost&)':
main.cpp:185:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
185 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> GrafFaraCost::BFS(int)':
main.cpp:231:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
231 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:221:12: warning: unused variable 'y' [-Wunused-variable]
221 | int x, y;
| ^
main.cpp: In member function 'void GrafFaraCost::DFS(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:247:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
247 | for(int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static std::string GrafFaraCost::existaGraf(std::vector<int>&)':
main.cpp:292:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
292 | for (int i = 0; i < copieGrade.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:307:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
307 | if (fst > grade.size()) { //daca avem un grad mai mare decat numarul de noduri ramase
| ~~~~^~~~~~~~~~~~~~
main.cpp:320:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
320 | 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 GrafFaraCost::ctcDFS(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::vector<bool>&, std::vector<std::vector<int> >&)':
main.cpp:342:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
342 | for (int i = 1; i < lisAdiacenta[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void GrafFaraCost::critConDFS(int, std::vector<bool>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:390:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
390 | for (int i = 1; i < lisAdiacenta[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void GrafFaraCost::biconexeDFS(int, int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::string&, int&, std::vector<bool>&)':
main.cpp:431:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
431 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'std::ostream& operator<<(std::ostream&, const GrafCuCost&)':
main.cpp:553:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
553 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<int, std::vector<std::pair<int, int> > > GrafCuCost::Kruskal(std::vector<std::pair<int, std::pair<int, int> > >)':
main.cpp:601:47: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
601 | for(int i = 1; i <= M && rezMuchii.size() < N; ++i) {
| ~~~~~~~~~~~~~~~~~^~~
main.cpp: In member function 'std::vector<int> GrafCuCost::BellmanFord(int)':
main.cpp:629:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
629 | for (int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> GrafCuCost::Dijkstra(int)':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 188kb | OK | 10 | 10 |
2 | 2ms | 184kb | OK | 10 | 10 |
3 | 2ms | 184kb | OK | 10 | 10 |
4 | 2ms | 184kb | OK | 10 | 10 |
5 | 6ms | 200kb | OK | 10 | 30 |
6 | 69ms | 675kb | OK | 10 |
7 | 69ms | 679kb | OK | 10 |
8 | 74ms | 856kb | OK | 10 | 10 |
9 | 35ms | 598kb | OK | 10 | 10 |
10 | 78ms | 1097kb | OK | 10 | 10 |
Punctaj total | 100 |