Borderou de evaluare (job #2755315)
Raport evaluator
Compilare:
main.cpp: In function 'void fixTwoBlackCase(Node*, Node*)':
main.cpp:253:25: warning: NULL used in arithmetic [-Wpointer-arith]
if ((!S->right == NULL && S->right->color == RED) || (!S->left == NULL && S->left->color == RED)) {
^~~~
main.cpp:253:73: warning: NULL used in arithmetic [-Wpointer-arith]
if ((!S->right == NULL && S->right->color == RED) || (!S->left == NULL && S->left->color == RED)) {
^~~~
main.cpp: In function 'Node* searchForNode(Node*, int)':
main.cpp:420:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:423:36: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
Node *N = searchForNode(root, key);
^
main.cpp:456:9: note: 'root' was declared here
Node *root;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 2ms | 131kb | Incorect | 0 |
14 | 2ms | 131kb | Incorect | 0 |
15 | 2ms | 131kb | Incorect | 0 |
16 | 2ms | 131kb | Incorect | 0 |
17 | 2ms | 131kb | Incorect | 0 |
18 | 2ms | 131kb | Incorect | 0 |
19 | 2ms | 131kb | Incorect | 0 |
20 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |