Borderou de evaluare (job #3001050)

Utilizator IoannnnnnnnnnnRotaru Ioan Ioannnnnnnnnnn Data 13 martie 2023 10:31:07
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:13: warning: unused variable 'poz1' [-Wunused-variable] 14 | int n,m,poz1,inc=1,sf=1,lin,col,mini=102,x1,y1,lr,cr,lj,cj; | ^~~~ main.cpp:73:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [-884763262564, -412] is out of the bounds [0, 42436] of object 'J' with type 'int [103][103]' [-Warray-bounds] 73 | J[n+1][j]=-1; | ~~~~~~~~~^~~ main.cpp:11:5: note: 'J' declared here 11 | int J[103][103]; | ^ main.cpp:139:31: warning: 'y1' may be used uninitialized [-Wmaybe-uninitialized] 139 | cout<<mini<<" "<<x1<<" "<<y1; | ^~ main.cpp:14:49: note: 'y1' was declared here 14 | int n,m,poz1,inc=1,sf=1,lin,col,mini=102,x1,y1,lr,cr,lj,cj; | ^~ main.cpp:139:26: warning: 'x1' may be used uninitialized [-Wmaybe-uninitialized] 139 | cout<<mini<<" "<<x1<<" "<<y1; | ^~~ main.cpp:14:46: note: 'x1' was declared here 14 | int n,m,poz1,inc=1,sf=1,lin,col,mini=102,x1,y1,lr,cr,lj,cj; | ^~ main.cpp:106:14: warning: 'cj' may be used uninitialized [-Wmaybe-uninitialized] 106 | J[lj][cj]=1; | ~~~~~~~~~^~ main.cpp:14:61: note: 'cj' was declared here 14 | int n,m,poz1,inc=1,sf=1,lin,col,mini=102,x1,y1,lr,cr,lj,cj; | ^~ main.cpp:106:14: warning: 'lj' may be used uninitialized [-Wmaybe-uninitialized] 106 | J[lj][cj]=1; | ~~~~~~~~~^~ main.cpp:14:58: note: 'lj' was declared here 14 | int n,m,poz1,inc=1,sf=1,lin,col,mini=102,x1,y1,lr,cr,lj,cj; | ^~ main.cpp:86:14: warning: 'cr' may be used uninitialized [-Wmaybe-uninitialized] 86 | R[lr][cr]=1; | ~~~~~~~~~^~ main.cpp:14:55: note: 'cr' was declared here 14 | int n,m,poz1,inc=1,sf=1,lin,col,mini=102,x1,y1,lr,cr,lj,cj; | ^~ main.cpp:86:14: warning: 'lr' may be used uninitialized [-Wmaybe-uninitialized] 86 | R[lr][cr]=1; | ~~~~~~~~~^~ main.cpp:14:52: note: 'lr' was declared here 14 | int n,m,poz1,inc=1,sf=1,lin,col,mini=102,x1,y1,lr,cr,lj,cj; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbIncorect00
20ms184kbIncorect0
30ms184kbIncorect0
40ms184kbIncorect0
50ms184kbIncorect0
60ms184kbIncorect00
70ms184kbIncorect0
80ms184kbIncorect0
90ms184kbOK10
106ms303kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?