Pagini recente » Borderou de evaluare (job #771991) | Borderou de evaluare (job #2360158) | Borderou de evaluare (job #3217084) | Borderou de evaluare (job #2440813) | Borderou de evaluare (job #2797059)
Borderou de evaluare (job #2797059)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::BFS(int)':
main.cpp:147:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
147 | for(int i=0; i < this->m_listAdiacenta[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int)':
main.cpp:173:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
173 | for(int i=0; i<this->m_listAdiacenta[nod].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSBiconexe(int, int, int, std::vector<std::pair<int, int> >&)':
main.cpp:211:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
211 | for(int i=0; i<this->m_listAdiacenta[nodCurent].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::afisComponenteBiconexe(char*)':
main.cpp:261: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]
261 | for(int i=0; i<componenteBiconexe.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::tarjan(int, int&, std::stack<int>&, std::vector<int>&)':
main.cpp:300:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
300 | for(int i=0; i<this->m_listAdiacenta[nod].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::afisComponenteTareConexe(char*)':
main.cpp:339:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
339 | for(int i=0; i<ComponenteTareConexe.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:340:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
340 | for(int j=0; j<ComponenteTareConexe[i].size(); j++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSSortareTopologica(int, std::stack<int>&)':
main.cpp:350:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
350 | for(int i=0; i<this->m_listAdiacenta[nod].size();i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::afisMuchiiCritice(char*)':
main.cpp:432:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
432 | for(int i=0; i<muchiileCritice.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:433:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
433 | for(int j=0; j<muchiileCritice[i].size(); j++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSCritice(int, int&)':
main.cpp:465:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
465 | for(int i=0; i<m_listAdiacenta[nodCurent].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:521:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
521 | g.citireGrafOrientat("ctc.in");
| ^~~~~~~~
main.cpp:523:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
523 | g.numaraComponenteTareConexe("ctc.out");
| ^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | Corect | 10 | 30 |
2 | 1ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 | 30 |
5 | 6ms | 405kb | Corect | 10 |
6 | 13ms | 1105kb | Corect | 10 |
7 | 24ms | 1884kb | Corect | 10 | 30 |
8 | 71ms | 4550kb | Corect | 10 |
9 | 143ms | 10174kb | Corect | 10 |
10 | 215ms | 16220kb | Corect | 10 | 10 |
Punctaj total | 100 |