Pagini recente » infoarena - comunitate informatica, concursuri de programare | Borderou de evaluare (job #230111) | Borderou de evaluare (job #2036124) | Borderou de evaluare (job #817036) | Borderou de evaluare (job #2809130)
Borderou de evaluare (job #2809130)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> graf_orientat::SortareTopologica()':
main.cpp:380:29: warning: unused variable 'afisate' [-Wunused-variable]
380 | int grad_intern[n], vf, afisate=0;
| ^~~~~~~
main.cpp: In function 'void Pb_Sortare_topologica()':
main.cpp:1038:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
1038 | if(sortare_top.size()!=n) //graful are cicluri
| ~~~~~~~~~~~~~~~~~~^~~
main.cpp:1041:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1041 | for(int i=0; i<sortare_top.size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int graf_neorientat::Diametru_arbore()':
main.cpp:109:16: warning: 'nod' may be used uninitialized in this function [-Wmaybe-uninitialized]
109 | DFSdiametru(nod, muchii, viz, dist);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 188kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 11ms | 806kb | OK | 10 |
6 | 44ms | 2605kb | OK | 10 |
7 | 73ms | 3600kb | OK | 10 |
8 | 120ms | 5369kb | OK | 10 |
9 | 103ms | 13557kb | OK | 10 |
10 | 168ms | 6946kb | OK | 10 |
Punctaj total | 100 |