Pagini recente » Borderou de evaluare (job #3118717) | Borderou de evaluare (job #248241) | Borderou de evaluare (job #2948555) | Borderou de evaluare (job #1272660) | Borderou de evaluare (job #2796643)
Borderou de evaluare (job #2796643)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graf)':
main.cpp:69:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for(int i = 0; i < graf.noduri.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::nrConexe()':
main.cpp:80:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for(int i = 0; i < noduri.size(); i++)
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::costuriBFS(int, std::ostream&)':
main.cpp:92:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for (int i = 0; i < noduri.size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::sortareTopologica(std::ostream&)':
main.cpp:102:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for(int i = 0; i < noduri.size(); i++)
| ~~^~~~~~~~~~~~~~~
main.cpp:101:13: warning: unused variable 'nr' [-Wunused-variable]
101 | int nr = 0;
| ^~
main.cpp: In member function 'void Graf::componenteConexe(std::ostream&)':
main.cpp:115:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for (int i = 0; i < noduri.size(); i++)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:130:25: warning: unused variable 'start' [-Wunused-variable]
130 | int noduri, muchii, start;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 |
5 | 1ms | 184kb | Corect | 10 |
6 | 22ms | 2027kb | Corect | 10 |
7 | 32ms | 3350kb | Corect | 10 |
8 | 401ms | 44843kb | Time limit exceeded | 0 |
9 | 227ms | 24559kb | Corect | 10 |
10 | 294ms | 33734kb | Corect | 10 |
Punctaj total | 90 |