Borderou de evaluare (job #3215673)

Utilizator BledeaAlexBledea Alexandru BledeaAlex Data 15 martie 2024 11:31:52
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: In function 'void atrib(ll (*)[4], ll (*)[4])', inlined from 'void power(int)' at main.cpp:65:18, inlined from 'void power(int)' at main.cpp:52:6: main.cpp:49:21: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [128, 167] is out of the bounds [0, 128] of object 'B' with type 'll [4][4]' {aka 'long long int [4][4]'} [-Warray-bounds] 49 | A[i][j] = B[i][j]; | ~~~~~~~~^~~~~~~~~ main.cpp: In function 'void power(int)': main.cpp:17:17: note: 'B' declared here 17 | ll A[DIM][DIM], B[DIM][DIM], C[DIM][DIM]; | ^ In function 'void atrib(ll (*)[4], ll (*)[4])', inlined from 'void power(int)' at main.cpp:69:14, inlined from 'void power(int)' at main.cpp:52:6: main.cpp:49:21: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [128, 167] is out of the bounds [0, 128] of object 'A' with type 'll [4][4]' {aka 'long long int [4][4]'} [-Warray-bounds] 49 | A[i][j] = B[i][j]; | ~~~~~~~~^~~~~~~~~ main.cpp: In function 'void power(int)': main.cpp:17:4: note: 'A' declared here 17 | ll A[DIM][DIM], B[DIM][DIM], C[DIM][DIM]; | ^ In function 'void atrib(ll (*)[4], ll (*)[4])', inlined from 'void power(int)' at main.cpp:74:10, inlined from 'void power(int)' at main.cpp:52:6: main.cpp:49:21: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [128, 167] is out of the bounds [0, 128] of object 'A' with type 'll [4][4]' {aka 'long long int [4][4]'} [-Warray-bounds] 49 | A[i][j] = B[i][j]; | ~~~~~~~~^~~~~~~~~ main.cpp: In function 'void power(int)': main.cpp:17:4: note: 'A' declared here 17 | ll A[DIM][DIM], B[DIM][DIM], C[DIM][DIM]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbRaspuns gresit!0
20ms303kbRaspuns gresit!0
30ms303kbRaspuns gresit!0
40ms303kbRaspuns gresit!0
50ms303kbRaspuns gresit!0
60ms303kbRaspuns gresit!0
70ms303kbRaspuns gresit!0
80ms303kbRaspuns gresit!0
90ms303kbRaspuns gresit!0
101ms303kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?