Pagini recente » Borderou de evaluare (job #537296) | Borderou de evaluare (job #2676577) | Borderou de evaluare (job #10170) | Borderou de evaluare (job #2768506) | Borderou de evaluare (job #3190121)
Borderou de evaluare (job #3190121)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:14: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | v[j] = 0;
| ~~~~~^~~
main.cpp:15:22: note: within this loop
15 | for(int j = 1; j <= 17; j++)
| ~~^~~~~
main.cpp:16:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [68, 71] is out of the bounds [0, 68] of object 'v' with type 'int [17]' [-Warray-bounds]
16 | v[j] = 0;
| ~~~~~^~~
main.cpp:10:11: note: 'v' declared here
10 | int n, i, v[NMAX];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Correct! | 10 |
2 | 0ms | 303kb | Correct! | 10 |
3 | 0ms | 303kb | Correct! | 10 |
4 | 0ms | 303kb | Correct! | 10 |
5 | 0ms | 303kb | Correct! | 10 |
6 | 1ms | 303kb | Correct! | 10 |
7 | 2ms | 303kb | Correct! | 10 |
8 | 4ms | 557kb | Correct! | 10 |
9 | 9ms | 819kb | Correct! | 10 |
10 | 19ms | 1576kb | Correct! | 10 |
Punctaj total | 100 |