Pagini recente » Borderou de evaluare (job #3252934) | Borderou de evaluare (job #236348) | Borderou de evaluare (job #1311090) | Borderou de evaluare (job #390837) | Borderou de evaluare (job #2797920)
Borderou de evaluare (job #2797920)
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 | 2ms | 184kb | Numar de componente gresit | 0 |
3 | 1ms | 184kb | Numar de componente gresit | 0 |
4 | 1ms | 184kb | Numar de componente gresit | 0 | 0 |
5 | 10ms | 540kb | Numar de componente gresit | 0 |
6 | 15ms | 1040kb | Numar de componente gresit | 0 |
7 | 46ms | 2097kb | Numar de componente gresit | 0 | 0 |
8 | 91ms | 4845kb | Numar de componente gresit | 0 |
9 | 171ms | 11468kb | Numar de componente gresit | 0 |
10 | 194ms | 16699kb | Numar de componente gresit | 0 | 0 |
Punctaj total | 0 |