Borderou de evaluare (job #3375124)
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:21:19: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations]
21 | vf[i] = 0;
| ~~~~~~^~~
main.cpp:20:26: note: within this loop
20 | for(int i = 0; i <= 256; i++){
| ~~^~~~~~
main.cpp:27:17: warning: iteration 255 invokes undefined behavior [-Waggressive-loop-optimizations]
27 | vf[i] += vf[i-1];
| ~~~~^
main.cpp:26:26: note: within this loop
26 | for(int i = 1 ;i <= 256;i++){
| ~~^~~~~~
main.cpp:21:19: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [1024, 1027] is out of the bounds [0, 1024] of object 'vf' with type 'int [256]' [-Warray-bounds]
21 | vf[i] = 0;
| ~~~~~~^~~
main.cpp:4:5: note: 'vf' declared here
4 | int vf[256], a[10000005], temp[10000005];
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | Incorect | 0 | 0 |
| 2 | 5ms | 1605kb | Incorect | 0 |
| 3 | 51ms | 13078kb | Incorect | 0 |
| 4 | 49ms | 12857kb | Incorect | 0 | 0 |
| 5 | 489ms | 131547kb | Memory limit exceeded | 0 |
| 6 | 491ms | 132182kb | Memory limit exceeded | 0 |
| 7 | 54ms | 18010kb | Incorect | 0 |
| 8 | 475ms | 131268kb | Memory limit exceeded | 0 | 0 |
| 9 | 449ms | 132440kb | Memory limit exceeded | 0 |
| 10 | 470ms | 131268kb | Memory limit exceeded | 0 |
| Punctaj total | 0 |