Pagini recente » Borderou de evaluare (job #2665079) | Borderou de evaluare (job #2562926) | Borderou de evaluare (job #377814) | Borderou de evaluare (job #191383) | Borderou de evaluare (job #2796029)
Borderou de evaluare (job #2796029)
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:197: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]
197 | for(int i=0; i<componenteBiconexe.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSBiconexe(int, int, int)':
main.cpp:213:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
213 | for(int i=0; i<this->m_listAdiacenta[nodCurent].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:274:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
274 | g.citireGrafNeorientat("biconex.in");
| ^~~~~~~~~~~~
main.cpp:276:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
276 | g.afisComponenteBiconexe("biconex.out");
| ^~~~~~~~~~~~~
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 | 9ms | 1196kb | Corect | 10 |
7 | 21ms | 2568kb | Corect | 10 |
8 | 402ms | 41271kb | Time limit exceeded | 0 |
9 | 285ms | 16478kb | Corect | 10 |
10 | 409ms | 21700kb | Time limit exceeded | 0 |
Punctaj total | 80 |