Pagini recente » Borderou de evaluare (job #552301) | Borderou de evaluare (job #1759593) | Borderou de evaluare (job #641637) | Cod sursa (job #763595) | Borderou de evaluare (job #3210450)
Borderou de evaluare (job #3210450)
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 |
| 1 | 3ms | 409kb | Killed by Signal 11 | 0 | 0 |
| 2 | 3ms | 409kb | Killed by Signal 11 | 0 |
| 3 | 3ms | 413kb | Killed by Signal 11 | 0 | 0 |
| 4 | 3ms | 405kb | Killed by Signal 11 | 0 |
| 5 | 3ms | 405kb | Killed by Signal 11 | 0 |
| 6 | 3ms | 413kb | Killed by Signal 11 | 0 | 0 |
| 7 | 3ms | 421kb | Killed by Signal 11 | 0 |
| 8 | 3ms | 417kb | Killed by Signal 11 | 0 | 0 |
| 9 | 3ms | 417kb | Killed by Signal 11 | 0 |
| 10 | 3ms | 421kb | Killed by Signal 11 | 0 |
| 11 | 0ms | 438kb | Killed by Signal 11 | 0 | 0 |
| 12 | 0ms | 438kb | Killed by Signal 11 | 0 |
| 13 | 0ms | 438kb | Killed by Signal 11 | 0 |
| 14 | 0ms | 417kb | Killed by Signal 11 | 0 | 0 |
| 15 | 0ms | 421kb | Killed by Signal 11 | 0 |
| 16 | 0ms | 421kb | Killed by Signal 11 | 0 |
| 17 | 0ms | 430kb | Killed by Signal 11 | 0 | 0 |
| 18 | 0ms | 417kb | Killed by Signal 11 | 0 |
| 19 | 0ms | 417kb | Killed by Signal 11 | 0 |
| 20 | 0ms | 417kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |