Pagini recente » Borderou de evaluare (job #2821657) | Borderou de evaluare (job #1430384) | Borderou de evaluare (job #2604833) | Borderou de evaluare (job #1417692) | Borderou de evaluare (job #3123652)
Borderou de evaluare (job #3123652)
Raport evaluator
Compilare:
main.cpp: In function 'Node* find_node(Node*, int)':
main.cpp:45:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int i = 0; i < node->keys.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:49:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | if (i == node->keys.size() - 1)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int get_index(Node*, Node*)':
main.cpp:56:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for (int i = 0; i < parent->children.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void traverse(Node*)':
main.cpp:189:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
189 | for(int i = 0; i< node->keys.size(); i++)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void linii(Node*)':
main.cpp:337:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
337 | for(int i = 0; i <nod->keys.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:340:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
340 | for(int i = 0; i <nod->children.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'bool search(Node*, int)':
main.cpp:345:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
345 | for(int i = 0; i < node->keys.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:349:34: warning: comparison of integer expressions of different signedness: 'std::vector<Node*>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
349 | if(node->children.size() > i)
| ~~~~~~~~~~~~~~~~~~~~~~^~~
main.cpp: In function 'int precedent(Node*, int)':
main.cpp:367:1: warning: no return statement in function returning non-void [-Wreturn-type]
367 | }
| ^
main.cpp: In function 'Node* find_node(Node*, int)':
main.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type]
52 | }
| ^
main.cpp: In function 'int get_index(Node*, Node*)':
main.cpp:63:1: warning: control reaches end of non-void function [-Wreturn-type]
63 | }
| ^
main.cpp: In function 'bool search(Node*, int)':
main.cpp:362:1: warning: control reaches end of non-void function [-Wreturn-type]
362 | }
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | Incorect | 0 |
| 11 | 0ms | 303kb | Incorect | 0 |
| 12 | 0ms | 303kb | Incorect | 0 |
| 13 | 0ms | 303kb | Incorect | 0 |
| 14 | 0ms | 303kb | Incorect | 0 |
| 15 | 0ms | 303kb | Incorect | 0 |
| 16 | 0ms | 303kb | Incorect | 0 |
| 17 | 0ms | 303kb | Incorect | 0 |
| 18 | 0ms | 303kb | Incorect | 0 |
| 19 | 0ms | 303kb | Incorect | 0 |
| 20 | 0ms | 303kb | Incorect | 0 |
| Punctaj total | 0 |