Pagini recente » Borderou de evaluare (job #153925) | Borderou de evaluare (job #2959623) | Borderou de evaluare (job #2324686) | Borderou de evaluare (job #1621497) | Borderou de evaluare (job #3176192)
Borderou de evaluare (job #3176192)
Raport evaluator
Compilare:
main.cpp: In function 'int radixStep(int)':
main.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type]
30 | }
| ^
main.cpp:11:10: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations]
11 | f[i] = 0;
| ~~~~~^~~
main.cpp:10:20: note: within this loop
10 | for(int i = 0; i <= 10; i++){
| ~~^~~~~
main.cpp:11:10: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [40, 43] is out of the bounds [0, 40] of object 'f' with type 'int [10]' [-Warray-bounds]
11 | f[i] = 0;
| ~~~~~^~~
main.cpp:7:5: note: 'f' declared here
7 | int f[10];
| ^
main.cpp: In function 'void radixsort()':
main.cpp:36:28: warning: 'valmax' may be used uninitialized [-Wmaybe-uninitialized]
36 | for(int power = 1; power <= valmax; power *= 10){
| ~~~~~~^~~~~~~~~
main.cpp:32:7: note: 'valmax' was declared here
32 | int valmax;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 1ms | 819kb | Incorect | 0 |
3 | 9ms | 4493kb | Incorect | 0 |
4 | 9ms | 4354kb | Incorect | 0 | 0 |
5 | 118ms | 46780kb | Incorect | 0 |
6 | 123ms | 46964kb | Incorect | 0 |
7 | 9ms | 4489kb | Incorect | 0 |
8 | 133ms | 50720kb | Incorect | 0 | 0 |
9 | 123ms | 49831kb | Incorect | 0 |
10 | 133ms | 50868kb | Incorect | 0 |
Punctaj total | 0 |