Pagini recente » Borderou de evaluare (job #819706) | Borderou de evaluare (job #442888) | Borderou de evaluare (job #915014) | Borderou de evaluare (job #2407971) | Borderou de evaluare (job #2809134)
Borderou de evaluare (job #2809134)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> graf_orientat::SortareTopologica()':
main.cpp:405:29: warning: unused variable 'afisate' [-Wunused-variable]
405 | int grad_intern[n], vf, afisate=0;
| ^~~~~~~
main.cpp: In function 'void Pb_Sortare_topologica()':
main.cpp:1079:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
1079 | if(sortare_top.size()!=n) //graful are cicluri
| ~~~~~~~~~~~~~~~~~~^~~
main.cpp:1082:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1082 | for(int i=0; i<sortare_top.size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int graf_neorientat::Diametru_arbore()':
main.cpp:134:16: warning: 'nod' may be used uninitialized in this function [-Wmaybe-uninitialized]
134 | DFSdiametru(nod, muchii, viz, dist);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | OK | 10 |
7 | 6ms | 303kb | OK | 10 |
8 | 6ms | 331kb | Incorect | 0 |
9 | 6ms | 299kb | Incorect | 0 |
10 | 11ms | 380kb | OK | 10 |
Punctaj total | 50 |