Borderou de evaluare (job #2834607)

Utilizator popescuadrianpopescuadrian popescuadrian Data 17 ianuarie 2022 12:15:14
Problema Scara5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:18: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds] 21 | vec[2][j]=vec[1][vec[1][j]]+1; | ~~~~~^ main.cpp:6:5: note: while referencing 'vec' 6 | int vec[2][2005]; | ^~~ main.cpp:23:14: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds] 23 | vec[2][i]=1; | ~~~~~^ main.cpp:6:5: note: while referencing 'vec' 6 | int vec[2][2005]; | ^~~ main.cpp:26:28: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds] 26 | vec[1][j]=vec[2][j]; | ~~~~~^ main.cpp:6:5: note: while referencing 'vec' 6 | int vec[2][2005]; | ^~~ main.cpp:26:22: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' offset 16044 is out of the bounds [0, 16040] of object 'vec' with type 'int [2][2005]' [-Warray-bounds] 26 | vec[1][j]=vec[2][j]; | ~~~~~~~~~^~~~~~~~~~ main.cpp:6:5: note: 'vec' declared here 6 | int vec[2][2005]; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbKilled by Signal 110
22ms184kbKilled by Signal 110
32ms184kbKilled by Signal 110
42ms184kbKilled by Signal 110
52ms184kbKilled by Signal 110
66ms278kbKilled by Signal 110
76ms200kbKilled by Signal 110
86ms200kbKilled by Signal 110
96ms200kbKilled by Signal 110
106ms200kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?