Borderou de evaluare (job #3228293)
Raport evaluator
Compilare:
main.cpp: In member function 'int RedBlackTree::max(node*, int)':
main.cpp:235:16: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
235 | return NULL;
| ^~~~
main.cpp:241:18: warning: NULL used in arithmetic [-Wpointer-arith]
241 | if (k == NULL)
| ^~~~
main.cpp: In member function 'int RedBlackTree::min(node*, int)':
main.cpp:255:16: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
255 | return NULL;
| ^~~~
main.cpp: In member function 'int RedBlackTree::max(node*, int)':
main.cpp:249:1: warning: control reaches end of non-void function [-Wreturn-type]
249 | }
| ^
main.cpp: In member function 'int RedBlackTree::min(node*, int)':
main.cpp:266:1: warning: control reaches end of non-void function [-Wreturn-type]
266 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 5 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | OK | 5 |
4 | 19ms | 1843kb | OK | 5 |
5 | 19ms | 1802kb | OK | 5 |
6 | 18ms | 1785kb | OK | 5 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | Incorect | 0 |
10 | 0ms | 303kb | Incorect | 0 |
11 | 14ms | 1331kb | Incorect | 0 |
12 | 14ms | 1388kb | Incorect | 0 |
13 | 14ms | 1363kb | Incorect | 0 |
14 | 14ms | 1372kb | Incorect | 0 |
15 | 0ms | 303kb | Incorect | 0 |
16 | 0ms | 303kb | Incorect | 0 |
17 | 0ms | 303kb | Incorect | 0 |
18 | 24ms | 2228kb | Incorect | 0 |
19 | 29ms | 2715kb | Incorect | 0 |
20 | 24ms | 2158kb | Incorect | 0 |
Punctaj total | 30 |