Pagini recente »
Borderou de evaluare (job #56795)
|
Borderou de evaluare (job #245059)
|
Borderou de evaluare (job #115583)
|
Borderou de evaluare (job #406645)
|
Borderou de evaluare (job #695750)
Borderou de evaluare (job #695750)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:17: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations]
15 | base[i] = 0;
| ~~~~~~~~^~~
main.cpp:14:23: note: within this loop
14 | for (int i = 1; i <= 11; i++)
| ~~^~~~~
main.cpp:15:17: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [44, 47] is out of the bounds [0, 44] of object 'base' with type 'int [11]' [-Warray-bounds]
15 | base[i] = 0;
| ~~~~~~~~^~~
main.cpp:12:9: note: 'base' declared here
12 | int base[11];
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
Punctaj total
|
0
|