Borderou de evaluare (job #3376654)
Raport evaluator
Compilare:
main.cpp: In function 'int query(int, int)':
main.cpp:46:19: warning: 'rez' may be used uninitialized [-Wmaybe-uninitialized]
46 | return val[rez];
| ^
main.cpp:35:31: note: 'rez' was declared here
35 | int st=0,dr=log2(n)+1,mij,rez;
| ^~~
main.cpp: In function 'int main()':
main.cpp:67:14: warning: 'root' may be used uninitialized [-Wmaybe-uninitialized]
67 | initTimpi(root);
| ~~~~~~~~~^~~~~~
main.cpp:61:9: note: 'root' was declared here
61 | int root;
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 1ms | 557kb | Incorect | 0 |
| 5 | 1ms | 557kb | Incorect | 0 |
| 6 | 3ms | 1343kb | Incorect | 0 |
| 7 | 39ms | 5537kb | Incorect | 0 |
| 8 | 6ms | 2654kb | Incorect | 0 |
| 9 | 44ms | 3702kb | Incorect | 0 |
| 10 | 69ms | 3702kb | Incorect | 0 |
| Punctaj total | 0 |