Borderou de evaluare (job #750136)

Utilizator avatar criss_062 Cataramă Elena-Cristina criss_062 IP ascuns
Problemă Colectie 1 (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 dec. 2023 20:46:05 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:32: warning: array subscript -1 is below array bounds of 'int [1]' [-Warray-bounds=] 36 | if (a[i] != a[i - 1]) | ~~~^ main.cpp:11:21: note: while referencing 'a' 11 | int n, i, x,a[1], cnt = 0, k = 0; | ^ main.cpp:36:44: warning: array subscript -2 is below array bounds of 'int [1]' [-Warray-bounds=] 36 | if (a[i] != a[i - 1]) | ~~~~~~~^ main.cpp:11:21: note: while referencing 'a' 11 | int n, i, x,a[1], cnt = 0, k = 0; | ^ main.cpp:25:32: warning: array subscript -1 is below array bounds of 'int [1]' [-Warray-bounds=] 25 | if (a[i] != a[i + 1]) | ~~~^ main.cpp:11:21: note: while referencing 'a' 11 | int n, i, x,a[1], cnt = 0, k = 0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 249 kb Killed by Signal 11 0
4 2 ms 249 kb Killed by Signal 11 0
5 1 ms 249 kb Killed by Signal 11 0
6 1 ms 249 kb Killed by Signal 11 0
7 1 ms 249 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 1 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 0