Pagini recente » Borderou de evaluare (job #1402869) | Borderou de evaluare (job #1087626) | Borderou de evaluare (job #861993) | Borderou de evaluare (job #188800) | Borderou de evaluare (job #2907628)
Borderou de evaluare (job #2907628)
Raport evaluator
Compilare:
main.cpp: In member function 'int RBT::Successor(int)':
main.cpp:281:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
281 | int ans;
| ^~~
main.cpp: In member function 'int RBT::Predecessor(int)':
main.cpp:296:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
296 | int ans;
| ^~~
main.cpp: In member function 'void RBT::Sort(int, int)':
main.cpp:311:16: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
311 | while(next <= r){
| ~~~~~^~~~
main.cpp:313:25: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized]
313 | next = Successor(next + 1);
| ~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:342:33: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
342 | g<<T->Successor(x)<<"\n";
| ^~~~
main.cpp:338:35: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
338 | g<<T->Predecessor(x)<<"\n";
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 278kb | OK | 5 |
2 | 11ms | 249kb | OK | 5 |
3 | 1ms | 184kb | OK | 5 |
4 | 99ms | 2715kb | OK | 5 |
5 | 104ms | 2846kb | OK | 5 |
6 | 99ms | 2785kb | OK | 5 |
7 | 1ms | 184kb | OK | 5 |
8 | 1ms | 184kb | OK | 5 |
9 | 1ms | 184kb | OK | 5 |
10 | 1ms | 184kb | OK | 5 |
11 | 81ms | 1929kb | OK | 5 |
12 | 135ms | 1974kb | OK | 5 |
13 | 94ms | 1839kb | OK | 5 |
14 | 152ms | 1941kb | OK | 5 |
15 | 3ms | 319kb | OK | 5 |
16 | 1ms | 184kb | OK | 5 |
17 | 1ms | 184kb | OK | 5 |
18 | 247ms | 2920kb | OK | 5 |
19 | 241ms | 3121kb | OK | 5 |
20 | 227ms | 2904kb | OK | 5 |
Punctaj total | 100 |