Pagini recente » Borderou de evaluare (job #2817650) | Borderou de evaluare (job #900244) | Borderou de evaluare (job #1755492) | Borderou de evaluare (job #1254008) | Borderou de evaluare (job #3176185)
Borderou de evaluare (job #3176185)
Raport evaluator
Compilare:
main.cpp: In function 'int radixStep(int)':
main.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
26 | }
| ^
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:32:28: warning: 'valmax' may be used uninitialized [-Wmaybe-uninitialized]
32 | for(int power = 1; power <= valmax; power *= 10){
| ~~~~~~^~~~~~~~~
main.cpp:28:7: note: 'valmax' was declared here
28 | 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 | 4751kb | Incorect | 0 |
4 | 9ms | 4751kb | Incorect | 0 | 0 |
5 | 108ms | 47083kb | Incorect | 0 |
6 | 108ms | 46481kb | Incorect | 0 |
7 | 9ms | 4751kb | Incorect | 0 |
8 | 123ms | 50982kb | Incorect | 0 | 0 |
9 | 118ms | 50507kb | Incorect | 0 |
10 | 113ms | 50577kb | Incorect | 0 |
Punctaj total | 0 |