Borderou de evaluare (job #759782)

Utilizator avatar coldsh_1 Marcovici Andrei coldsh_1 IP ascuns
Problemă Anagramabil Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 feb. 2024 14:47:49 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:16: warning: unused variable 'c' [-Wunused-variable] 11 | int n, c, nr = 0; | ^ main.cpp:59:35: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 59 | v[j] = x[j]; | ~~~^ main.cpp:57:35: note: within this loop 57 | for (int j = 0; j <= 9; j++) | ~~^~~~ main.cpp:59:30: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' forming offset [36, 39] is out of the bounds [0, 36] of object 'v' with type 'int [9]' [-Warray-bounds=] 59 | v[j] = x[j]; | ~~~~~^~~~~~ main.cpp:7:5: note: 'v' declared here 7 | int v[9], x[9]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 241 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 241 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 10