Borderou de evaluare (job #2908517)
Raport evaluator
Compilare:
main.cpp: In member function 'void Tree::afis(int, TreeNode*)':
main.cpp:41:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<TreeNode*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i = 0; i < node->p.size(); i ++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Tree::search(int)':
main.cpp:64:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for(i = 0; i < node->keys.size(); i ++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Tree::insert(int)':
main.cpp:88:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for(i = 0; i < node->keys.size(); i ++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Tree::remove(int)':
main.cpp:136:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
136 | for(i = 0; i < node->keys.size(); i ++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:139:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
139 | if(x == node->keys[i] and i < node->keys.size())
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<TreeNode*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for(int j = 0; j < parinte->p.size(); j ++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:206:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<TreeNode*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
206 | for(int j = 0; j < parinte->p.size(); j ++)
| ~~^~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 188kb | Incorect | 0 |
| 2 | 1ms | 188kb | Incorect | 0 |
| 3 | 1ms | 184kb | Incorect | 0 |
| 4 | 1ms | 184kb | Incorect | 0 |
| 5 | 1ms | 184kb | Incorect | 0 |
| 6 | 1ms | 184kb | Incorect | 0 |
| 7 | 1ms | 184kb | Incorect | 0 |
| 8 | 1ms | 184kb | Incorect | 0 |
| 9 | 1ms | 184kb | Incorect | 0 |
| 10 | 1ms | 184kb | Incorect | 0 |
| 11 | 1ms | 184kb | Incorect | 0 |
| 12 | 2ms | 184kb | Incorect | 0 |
| 13 | 1ms | 184kb | Incorect | 0 |
| 14 | 1ms | 184kb | Incorect | 0 |
| 15 | 1ms | 184kb | Incorect | 0 |
| 16 | 1ms | 184kb | Incorect | 0 |
| 17 | 1ms | 184kb | Incorect | 0 |
| 18 | 1ms | 184kb | Incorect | 0 |
| 19 | 1ms | 184kb | Incorect | 0 |
| 20 | 1ms | 184kb | Incorect | 0 |
| Punctaj total | 0 |