Borderou de evaluare (job #673318)

Utilizator avatar George.nic George Rares Nicolau George.nic IP ascuns
Problemă Joc3 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 2 nov. 2022 09:06:04 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:7: warning: array subscript 2 is above array bounds of 'int [2][50]' [-Warray-bounds] 11 | m[2][1]=17; | ~~~^ main.cpp:8:35: note: while referencing 'm' 8 | int t,i,s,s1=0,s2=0,ok=1,n,x,y,m[2][50],nr,nr2=0; | ^ main.cpp:70:30: warning: array subscript 2 is above array bounds of 'int [2][50]' [-Warray-bounds] 70 | out<<m[1][nr-1]<<" "<<m[2][nr-1]; | ~~~^ main.cpp:8:35: note: while referencing 'm' 8 | int t,i,s,s1=0,s2=0,ok=1,n,x,y,m[2][50],nr,nr2=0; | ^ main.cpp:30:25: warning: array subscript 2 is above array bounds of 'int [2][50]' [-Warray-bounds] 30 | if(m[1][nr]==m[2][nr]) | ~~~^ main.cpp:8:35: note: while referencing 'm' 8 | int t,i,s,s1=0,s2=0,ok=1,n,x,y,m[2][50],nr,nr2=0; | ^ main.cpp:42:29: warning: array subscript 2 is above array bounds of 'int [2][50]' [-Warray-bounds] 42 | if(m[2][nr]==m[2][i]) | ~~~^ main.cpp:8:35: note: while referencing 'm' 8 | int t,i,s,s1=0,s2=0,ok=1,n,x,y,m[2][50],nr,nr2=0; | ^ main.cpp:19:22: warning: array subscript 2 is above array bounds of 'int [2][50]' [-Warray-bounds] 19 | m[2][nr] = m[2][nr-1] - y; | ~~~^ main.cpp:8:35: note: while referencing 'm' 8 | int t,i,s,s1=0,s2=0,ok=1,n,x,y,m[2][50],nr,nr2=0; | ^ main.cpp:19:11: warning: array subscript 2 is above array bounds of 'int [2][50]' [-Warray-bounds] 19 | m[2][nr] = m[2][nr-1] - y; | ~~~^ main.cpp:8:35: note: while referencing 'm' 8 | int t,i,s,s1=0,s2=0,ok=1,n,x,y,m[2][50],nr,nr2=0; | ^ main.cpp:22:15: warning: array subscript 2 is above array bounds of 'int [2][50]' [-Warray-bounds] 22 | m[2][nr] = n + m[2][nr]; | ~~~^ main.cpp:8:35: note: while referencing 'm' 8 | int t,i,s,s1=0,s2=0,ok=1,n,x,y,m[2][50],nr,nr2=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Killed by Signal 11 0
2 1 ms 118 kb Killed by Signal 11 0
3 1 ms 118 kb Killed by Signal 11 0
4 1 ms 118 kb Killed by Signal 11 0
5 1 ms 118 kb Killed by Signal 11 0
6 1 ms 118 kb Killed by Signal 11 0
7 1 ms 118 kb Killed by Signal 11 0
8 1 ms 118 kb Killed by Signal 11 0
9 1 ms 118 kb Killed by Signal 11 0
10 2 ms 118 kb Killed by Signal 11 0
Punctaj total 0