Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2807702)
| Utilizator | Data | 24 noiembrie 2021 09:33:02 | |
|---|---|---|---|
| Problema | Radix Sort | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 30 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:22:19: warning: iteration 255 invokes undefined behavior [-Waggressive-loop-optimizations]
22 | cnt[i]+=cnt[i-1];
| ~~~~~~^~~~~~~~~~
main.cpp:21:19: note: within this loop
21 | for(i=1; i<=256; i++)
| ~^~~~~
main.cpp:24:19: warning: 'void* __builtin_memmove(void*, const void*, long unsigned int)' forming offset [1024, 1027] is out of the bounds [0, 1024] of object 'cnt' with type 'int [256]' [-Warray-bounds]
24 | cnt[i]=cnt[i-1];
| ~~~~~~^~~~~~~~~
main.cpp:10:5: note: 'cnt' declared here
10 | int cnt[256];
| ^~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 184kb | OK | 10 | 30 |
| 2 | 24ms | 6918kb | OK | 10 | |
| 3 | 197ms | 11472kb | OK | 10 | |
| 4 | 201ms | 11501kb | OK | 10 | 0 |
| 5 | 2000ms | 85774kb | Time limit exceeded | 0 | |
| 6 | 2001ms | 85663kb | Time limit exceeded | 0 | |
| 7 | 230ms | 12152kb | OK | 10 | |
| 8 | 2004ms | 82268kb | Time limit exceeded | 0 | 0 |
| 9 | 2000ms | 82767kb | Time limit exceeded | 0 | |
| 10 | 2000ms | 82079kb | Time limit exceeded | 0 | |
| Punctaj total | 30 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
