Borderou de evaluare (job #3210450)

Utilizator marius_rus47Rus Marius marius_rus47 Data 6 martie 2024 11:53:19
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:24: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 27 | a[1][j]=a[2][j]; | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ main.cpp:17:20: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 17 | a[2][j]=a[1][j-y]+x; | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ main.cpp:19:20: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 19 | if (a[2][j-1]>a[2][j]) { | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ main.cpp:19:30: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 19 | if (a[2][j-1]>a[2][j]) { | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ main.cpp:20:20: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 20 | a[2][j]=a[2][j-1]; | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ main.cpp:22:28: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 22 | if (a[1][j]>a[2][j]) { | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ main.cpp:23:20: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 23 | a[2][j]=a[1][j]; | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ main.cpp:27:20: warning: 'void* __builtin_memmove(void*, const void*, long unsigned int)' offset 80012 is out of the bounds [0, 80008] of object 'a' with type 'int [2][10001]' [-Warray-bounds] 27 | a[1][j]=a[2][j]; | ~~~~~~~^~~~~~~~ main.cpp:8:7: note: 'a' declared here 8 | int n,a[2][10001],m,x,y; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms409kbKilled by Signal 1100
23ms409kbKilled by Signal 110
33ms413kbKilled by Signal 1100
43ms405kbKilled by Signal 110
53ms405kbKilled by Signal 110
63ms413kbKilled by Signal 1100
73ms421kbKilled by Signal 110
83ms417kbKilled by Signal 1100
93ms417kbKilled by Signal 110
103ms421kbKilled by Signal 110
110ms438kbKilled by Signal 1100
120ms438kbKilled by Signal 110
130ms438kbKilled by Signal 110
140ms417kbKilled by Signal 1100
150ms421kbKilled by Signal 110
160ms421kbKilled by Signal 110
170ms430kbKilled by Signal 1100
180ms417kbKilled by Signal 110
190ms417kbKilled by Signal 110
200ms417kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?