/in/foo.cc: In function 'int main()':
/in/foo.cc:12:32: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int' [-Wformat=]
scanf("%s",a[i][21]);
^
/in/foo.cc:16:14: warning: self-comparison always evaluates to true [-Wtautological-compare]
for(i=1;i<=i;i++){
~^~~
/in/foo.cc:20:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(sum>=11||sun>=11&&sum-sun>2||sun-sum>2){
~~~~~~~^~~~~~~~~~~
/in/foo.cc:12:31: warning: array subscript is above array bounds [-Warray-bounds]
scanf("%s",a[i][21]);
~~~~~~~^
/in/foo.cc:25:7: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i==c&&j==b) break;
~^~~
/in/foo.cc:25:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i==c&&j==b) break;
~^~~