Pagini recente » Borderou de evaluare (job #2145224) | Borderou de evaluare (job #844301) | Borderou de evaluare (job #956439) | Borderou de evaluare (job #1670489) | Borderou de evaluare (job #2907626)
Borderou de evaluare (job #2907626)
Raport evaluator
Compilare:
main.cpp: In member function 'int RBT::Successor(int)':
main.cpp:280:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
280 | int ans;
| ^~~
main.cpp: In member function 'int RBT::Predecessor(int)':
main.cpp:295:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
295 | int ans;
| ^~~
main.cpp: In member function 'void RBT::Sort(int, int)':
main.cpp:310:16: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
310 | while(next <= r){
| ~~~~~^~~~
main.cpp:312:25: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized]
312 | next = Successor(next + 1);
| ~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:347:35: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
347 | out<<T->Successor(x)<<"\n";
| ^~~~
main.cpp:342:37: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
342 | out<<T->Predecessor(x)<<"\n";
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 184kb | OK | 5 |
2 | 1ms | 184kb | OK | 5 |
3 | 1ms | 184kb | OK | 5 |
4 | 105ms | 2711kb | OK | 5 |
5 | 99ms | 2797kb | OK | 5 |
6 | 170ms | 2777kb | OK | 5 |
7 | 1ms | 184kb | OK | 5 |
8 | 1ms | 184kb | OK | 5 |
9 | 2ms | 184kb | OK | 5 |
10 | 1ms | 184kb | OK | 5 |
11 | 76ms | 1921kb | OK | 5 |
12 | 100ms | 1929kb | OK | 5 |
13 | 74ms | 1896kb | OK | 5 |
14 | 155ms | 1921kb | OK | 5 |
15 | 1ms | 184kb | OK | 5 |
16 | 1ms | 184kb | OK | 5 |
17 | 1ms | 184kb | OK | 5 |
18 | 159ms | 2805kb | OK | 5 |
19 | 173ms | 3104kb | OK | 5 |
20 | 250ms | 2920kb | OK | 5 |
Punctaj total | 100 |