Borderou de evaluare (job #713499)

Utilizator avatar AnAverageTurtle Visan Mihnea Alexandru AnAverageTurtle IP ascuns
Problemă Macheta (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 30 mar. 2023 10:30:42 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:15: warning: iteration 101 invokes undefined behavior [-Waggressive-loop-optimizations] 29 | y [ i ] = 0 ; | ~~~~~~~~^~~ main.cpp:28:21: note: within this loop 28 | for ( i = 0 ; i <= 101 ; i ++ ) | ~~^~~~~~ main.cpp:29:15: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [404, 407] is out of the bounds [0, 404] of object 'y' with type 'int [101]' [-Warray-bounds] 29 | y [ i ] = 0 ; | ~~~~~~~~^~~ main.cpp:10:5: note: 'y' declared here 10 | int y [ 101 ] ; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100