Compiler output
prog.cpp: In function 'int main()':
prog.cpp:11:7: warning: variable 's1' set but not used [-Wunused-but-set-variable]
int m,s1,s2,i,j;
^
prog.cpp:11:10: warning: variable 's2' set but not used [-Wunused-but-set-variable]
int m,s1,s2,i,j;
^
prog.cpp:11:15: warning: unused variable 'j' [-Wunused-variable]
int m,s1,s2,i,j;
^
prog.cpp:12:25: warning: unused variable 'aux' [-Wunused-variable]
short int n,l[10000][1],aux;
^
prog.cpp:19:37: warning: array subscript is above array bounds [-Warray-bounds]
cout<<endl<<l[i][0]<<" "<<l[i][1];
^
prog.cpp:35:47: warning: array subscript is above array bounds [-Warray-bounds]
cout<<endl<<"W: "<<l[i][0]<<" B: "<<l[i][1];
^