Pagini recente » Borderou de evaluare (job #429617) | Borderou de evaluare (job #208778) | Borderou de evaluare (job #2154908) | Borderou de evaluare (job #2486348) | Borderou de evaluare (job #2796033)
Borderou de evaluare (job #2796033)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::BFS(int)':
main.cpp:132:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
132 | for(int i=0; i < this->m_listAdiacenta[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int)':
main.cpp:157:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | for(int i=0; i<this->m_listAdiacenta[nod].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::afisComponenteBiconexe(char*)':
main.cpp:200:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unordered_set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
200 | for(int i=0; i<componenteBiconexe.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSBiconexe(int, int, int)':
main.cpp:216:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
216 | for(int i=0; i<this->m_listAdiacenta[nodCurent].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:277:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
277 | g.citireGrafNeorientat("biconex.in");
| ^~~~~~~~~~~~
main.cpp:279:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
279 | g.afisComponenteBiconexe("biconex.out");
| ^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 2ms | 217kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 4ms | 409kb | Corect | 10 |
5 | 2ms | 192kb | Corect | 10 |
6 | 12ms | 1445kb | Corect | 10 |
7 | 24ms | 2486kb | Corect | 10 |
8 | 378ms | 41910kb | Corect | 10 |
9 | 195ms | 16449kb | Corect | 10 |
10 | 401ms | 21692kb | Time limit exceeded | 0 |
Punctaj total | 90 |