Borderou de evaluare (job #3210446)

Utilizator marius_rus47Rus Marius marius_rus47 Data 6 martie 2024 11:51:34
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:30:14: warning: array subscript 2 is above array bounds of 'int [2][10001]' [-Warray-bounds] 30 | cout<<a[2][m]; | ~~~^ main.cpp:8:7: note: while referencing 'a' 8 | int n,a[2][10001],m,x,y; | ^ 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]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms413kbKilled by Signal 1100
20ms405kbKilled by Signal 110
30ms413kbKilled by Signal 1100
40ms409kbKilled by Signal 110
50ms405kbKilled by Signal 110
60ms417kbKilled by Signal 1100
70ms421kbKilled by Signal 110
85ms417kbKilled by Signal 1100
93ms413kbKilled by Signal 110
103ms417kbKilled by Signal 110
113ms430kbKilled by Signal 1100
123ms434kbKilled by Signal 110
133ms430kbKilled by Signal 110
1410ms421kbKilled by Signal 1100
1510ms421kbKilled by Signal 110
1610ms421kbKilled by Signal 110
173ms430kbKilled by Signal 1100
180ms421kbKilled by Signal 110
190ms417kbKilled by Signal 110
200ms421kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?